remove the captureImage_thread

Hi, guys.

I used MT9V022 + USB2.0 Rev.D shield now.

Follow the Arducam github, ArduCAM_USB_Camera_Shield/Linux/CPP/Streaming Demo source file is using “captureImage_thread”, “readImage_thread”.

Should I use both are functions? Is it possible to use only readImage?

I don’t want capture function, only use read image.

Hi @jmshin

You can’t just use one method, because there is no thread processing inside the SDK, so you need to handle capture in the user program.

If you want a cleaner interface, you can refer to this c++ class wrap:
https://github.com/glddiv/Arducam_Opencv_Demo/blob/43a56b2ede38f66601d708bb4d30dba86366b82c/src/ArduCam_Demo.cpp#L104

ThankS wong!

My Pleasure.