You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, all compilation problem has been solved and i want to process camera image with opencv, anyone can help me to how i get image before reflect to surfaceview?
The text was updated successfully, but these errors were encountered:
If you want the raw pixel buffer, look at the getNextFrame function in easycapture.cpp. You'll find a pointer to a CaptureBuffer struct named curBuf. It contains a reference to the current frame after vDevice->processCapture() is called. curBuf->start is a pointer to the array of raw pixels, curBuf->length is the size of the array in bytes.
Obviously if you are doing some kind of processing you will want to create your own render pipeline, replacing the fRenderer->renderFrame call. getNextFrame is passed a handle to the surface (see the jobject surface parameter), so everything you need is there to process the raw pixels and render it to a Native Window.
hi, all compilation problem has been solved and i want to process camera image with opencv, anyone can help me to how i get image before reflect to surfaceview?
The text was updated successfully, but these errors were encountered: