Commit 05d8651c authored by Yuelong Yu's avatar Yuelong Yu
Browse files

working on usb camera

- put camera type
- removed ROI symmetric check because it's not needed for this camera
parent ce7be1e7
......@@ -29,7 +29,7 @@ namespace PcoNS
{
PcoUSB::PcoUSB()
{
m_isroi_y_symmetric = true;
//m_isroi_y_symmetric = true;
}
bool PcoUSB::SetCamera(shared_ptr<CPco_com>& sptrCamera)
......
......@@ -68,8 +68,9 @@ namespace PcoNS
cout<<"camera type : "<<ushCameraType<<endl;
//pco edge CLHS
if(ushCameraType == 4928)
//pco usb camera
//pco.edge 4.2m USB rolling shutter
if(ushCameraType == 0x1320)
{
unique_ptr<PcoFactory> uptrCameraFactory
= unique_ptr<PcoFactory>(new PcoUSBFactory());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment