Skip to content

Conversation

@miyatakazuya
Copy link
Contributor

No description provided.

mountainduu and others added 30 commits January 24, 2025 18:10
added synchronous client and synchronous test server
able to serialize data in a struct and send it between client and server
can also successfully send an image, however not in the yuv420 as expected from the RPI side

sync_client_mock.cpp and sync_server_mock.cpp need to be run separately and the server needs to be started first in order for the client to successfully connect to it

currently working on converting everything into asynchronous

Asynchronous TODOS
- need to make the async client thread safe, need to learn how to use strand and such to protect shared resources and the execution context
- need to ensure that requests to take images complete in the requested order, in other words no images out of order. this isn't a problem in the synchronous version but asynchronous needs to handle it
- what do we do in the case any of the async functions fail?
- once we receive the image in yuv420 format, does it need to be reassembled by imgConvert() or is that on the cv pipeline? also need to save to local storage instead of keeping it in memory what is the expected format to save as? i.e name or title
- also need to handle errors
…red functionality. Need to further change to support the RPI functionality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants