eVideoMode::ObjectMode ?

Post Reply
masa
Posts: 1
Joined: Thu Dec 09, 2010 7:54 pm

eVideoMode::ObjectMode ?

Post by masa »

Hi.
As English is not my mother tongue, please overlook my poor expressions.

I'm trying to adapt our 3d-measuring application in V100 cameras and 2D SDK to S250e cameras and Camera SDK(1.0.0.Final).

In "FrameSynchronization" sample, I added SetVideoType(eVideoMode::ObjectMode) to get only X,Y and area of markers and omit the image-transfer load.
//
camera->SetVideoType(ObjectMode); //add omit image transfer load
//
camera->SetFrameRate(250/*fps*/);
camera->Start();

this causes no frame group detection..

FrameGroup *frameGroup = sync1->GetFrameGroup();
if( frameGroup ){
//** never comes here** !!
}//if

and I found that in eVideoMode::ObjectMode,
Frame * GetFrame();
always returns NULL.

Is "eVideoMode::ObjectMode" the wrong video mode to get only X,Y and area of markers?
and which video mode should I choose?

Thanks.
beckdo
Posts: 520
Joined: Tue Jan 02, 2007 2:02 pm

Re: eVideoMode::ObjectMode ?

Post by beckdo »

Use eVideoMode::PrecisionMode or eVideoMode::SegmentMode. eVideoMode::ObjectMode is not supported on the S250e device until the next version of the SDK, which is coming in a few weeks.
Post Reply