简体   繁体   中英

Send Data And Get Response between (Python on Raspberry pi) and (Matlab on PC)

i want to perform communication between (Python on raspberrypi) and (Matlab on PC). Raspberry pi performs face detection and crop faces. i need to send these faces to matlab on pc for processing (face recognition) and retrieve back the label from matlab to python on raspi i have searched all over the internet but couldn't find a detail explaination.

The easiest alternative is using TCP/IP socekts:

There's also the Serial Port , but the RPI doesn't come with a usb2com adaptor, so you'll need to purchase one.

You could also transmit over USB by configuring the usb port as a virutal serial port. I've only done it on bare metal ARM cortex, but it should be possible to do that on the RPI too.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM