Unable to keep capture image base on Wifi-img-streamer #550
Unanswered
jobsZhao99
asked this question in
Q&A
Replies: 1 comment
-
Hi, Are you emptying the buffer (i.e downloading the data) on the client side? CPX will block when sending if the buffer is ful, so if you're not emptying it fast enough it block pause. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm a beginner at ai-deck.
I want to use the Wifi-img-streamer demo to send some image characteristics to my computer rather than a row/JPEG image.
However, the problem comes when I comment on transferring things(PS. I also change the python code corresponding to receiving the image packet). The camera could only work for the first frame after the program entered the while loop, and will clog at this line:
pi_camera_capture_async(&camera, imgBuff, resolution, pi_task_callback(&task1, capture_done_cb, NULL));
I guess it might be because the buffer needs to be refreshed or reset before reuse. Whereas I have no idea how to reset it.
Anyone could please help me with this issue? Very appreciate!
Beta Was this translation helpful? Give feedback.
All reactions