Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Issue in using imread and imwrite in thread

Hello All, I have written a program in cpp which takes image form camera and save it in a folder. There is another program which reads the save image form the folder and do some processing on the image. My problem is sometime i get only half image saved and the other is blank. After the above mentioned issue i am not able to fetch any image from the camera and also my thread breaks.

Issue in using imread and imwrite in thread

Hello All, I have written a program in cpp which takes image form camera and save it in a folder. There is another program which reads the save image form the folder and do some processing on the image. My problem is sometime i get only half image saved and the other is blank. After the above mentioned issue i am not able to fetch any image from the camera and also my thread breaks.breaks. I also got an warning message:Premature end of JPEG file