Ask Your Question

Revision history [back]

onCameraFrame callback function fall into chaos

hi,

i run sample tutorial-1-camerapreview in opencv2.4.8 sdk on allwinner a10 pad which has one 1.0G Hz arm A8 core. i find the sequence of frame retrieved from camera is in chaos.the previous frame is interlaced with later frame.and if i run the same sample on faster chip such as mt6589 platform which has four 1.2Ghz A7 core,i could get correct video.So my question is :

if my opencv image process function is some complex,similar with above chaos situation,maybe could not complete before next frame come,how to delay calling oncamerafram function until current frame process func is complete.I am willing to get rid of some frame.i can not let opencv program in chaos.

any suggestion?thanks anyway.

onCameraFrame callback function fall into chaos

hi,

i run sample tutorial-1-camerapreview in opencv2.4.8 sdk on allwinner a10 pad which has one 1.0G Hz arm A8 core. i find the sequence of frame retrieved from camera is in chaos.the previous frame is interlaced with later frame.and if i run the same sample on faster chip such as mt6589 platform which has four 1.2Ghz A7 core,i could get correct video.So my question is :

if my opencv image process function is some complex,similar with above chaos situation,maybe could not complete before next frame come,how to delay calling oncamerafram function until current frame process func is complete.I am willing to get rid of some frame.i can not let opencv program in chaos.

by the way,my image process func is native c++ code.and it interchanges Mat parameters with onCameraFrame callback function in Java.

any suggestion?thanks anyway.

onCameraFrame callback function fall into chaos

hi,

i run sample tutorial-1-camerapreview tutorial-2-mixedprocessing in opencv2.4.8 sdk on allwinner a10 pad which has one 1.0G Hz arm A8 core. i find the sequence of frame retrieved from camera is in chaos.the previous frame is interlaced with later frame.and if i run the same sample on faster chip such as mt6589 platform which has four 1.2Ghz A7 core,i could get correct video.So my question is :

if my opencv image process function is some complex,similar with above chaos situation,maybe could not complete before next frame come,how to delay calling oncamerafram function until current frame process func is complete.I am willing to get rid of some frame.i can not let opencv program in chaos.

by the way,my image process func is native c++ code.and it interchanges Mat parameters with onCameraFrame callback function in Java.

any suggestion?thanks anyway.

click to hide/show revision 4
retagged

updated 2014-04-20 09:58:39 -0600

berak gravatar image

onCameraFrame callback function fall into chaos

hi,

i run sample tutorial-2-mixedprocessing in opencv2.4.8 sdk on allwinner a10 pad which has one 1.0G Hz arm A8 core. i find the sequence of frame retrieved from camera is in chaos.the previous frame is interlaced with later frame.and if i run the same sample on faster chip such as mt6589 platform which has four 1.2Ghz A7 core,i could get correct video.So my question is :

if my opencv image process function is some complex,similar with above chaos situation,maybe could not complete before next frame come,how to delay calling oncamerafram function until current frame process func is complete.I am willing to get rid of some frame.i can not let opencv program in chaos.

by the way,my image process func is native c++ code.and it interchanges Mat parameters with onCameraFrame callback function in Java.

any suggestion?thanks anyway.

onCameraFrame callback function fall into chaoscamera bugs in opencv sdk 2.4.8

hi,

i run sample tutorial-2-mixedprocessing in opencv2.4.8 sdk on allwinner a10 pad which has one 1.0G Hz arm A8 core. i find the sequence of frame retrieved from camera is in chaos.the previous frame is interlaced with later frame.and if i run the same sample on faster chip such as mt6589 platform which has four 1.2Ghz A7 core,i could get correct video.So my question sequence of frame.i test capture camera in native c++ mode and java mode,i could get same result.the difference between two mode is :native capture fps is better than jave camera capture.and the incorrect sequence of frame is less in native mode.

if who could tell me why the sequence of frame from camera is not correct in poor performance arm platform?in this case,if my opencv image process function algorithm is some complex,similar with above chaos situation,maybe could not complete before next frame come,how to delay calling oncamerafram function until current frame process func is complete.I am willing to get rid of some frame.i can not let opencv program in complex,the project will fall into chaos.

by the way,my image process func is native c++ code.and it interchanges Mat parameters with onCameraFrame callback function in Java.

any suggestion?thanks thanks anyway.