Home > Back-end >  MIL matrox imaging library acquisition card collection problem
MIL matrox imaging library acquisition card collection problem

Time:01-01

I'd like to MIL, according to export to OpenCV image acquisition card wrote a continuous acquisition of callback, but found that there will be a lost frame or the phenomenon of lack, plus time delay effect is not ideal

 
Char * p_user_buffer;
Void OnFrameCallbackFun (LPVOID pFrame)
{
While (m_bIsSnap)
{

{

MbufClear (MilImage, 0);
MdigGrab (MilDigitizer MilImage);

MbufGet (MilImage p_user_buffer);
//Sleep (10);
}
  • Related