'In windows convert jpg to bit array, pass to raspberry pi, convert bit array back to jpg using raspberry pi os and python
My purpose is to grab an image (any format), convert it to a byte array, process the byte array, then pass it to my Raspberry PI and then process the resyltant byte array using Python (or OpenCV) to render the original file in as near to the original as is possible. Is this something that can be done?
For instance, I take a jpeg file, convert it to a byte array, use an encryption on this byte array, then pass it through a socket connection (binary TCP) and then decrypt this byte array on the Pi and render the jpeg in as close to the orinal as possible. How might I do this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
