Converting matlab code to python

6 views (last 30 days)
Osumanu Ra-is
Osumanu Ra-is on 14 Mar 2016
Commented: Osumanu Ra-is on 15 Mar 2016
Please is it possible to convert Matlab codes to python and put it on a raspberry pi. Am working on face detection and i have the codes written in matlab but i wanted to convert to python and run on raspberry pi

Answers (1)

Michelle Hirsch
Michelle Hirsch on 14 Mar 2016
I'm not sure about converting the code, but there are a few other ways you might be able to connect your MATLAB algorithms with your RaspberryPi. There are support packages for connecting MATLAB to RaspberryPi and for running Simulink algorithms on RaspberryPi. With the MATLAB connection, you can send the camera and other sensor data from the Pi directly to an algorithm running in MATLAB. With Simulink, you can compile your algorithms to run natively on the Pi.
Here's a video on using MATLAB for face detection with a RaspberryPi: MATLAB and Raspberry Pi for Face Detection
More info on using MATLAB and Simulink with the RaspberryPi is here:
BTW, happy (Raspberry)Pi day! (in the US - 3.14)
  3 Comments
Osumanu Ra-is
Osumanu Ra-is on 15 Mar 2016
ok bt not neccessary installing matlab runtime environment on the raspberry pi but since one can install java runtime environment on raspberry pi. my Question was, after installing java runtime environment on raspberry pi, i wanted to covert my matlab codes to jar file on windows platform and then later run it on the raspberry pi

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!