Converting matlab code to python

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

Antworten (1)

Michelle Hirsch
Michelle Hirsch am 14 Mär. 2016

1 Stimme

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 Kommentare

Osumanu Ra-is
Osumanu Ra-is am 15 Mär. 2016
ok. But matlab has a way of converting matlab code to jar file. supposing i convert the matlab codes to jar file and i install java runtime environment on the raspberry pi. Will that help also?
Michelle Hirsch
Michelle Hirsch am 15 Mär. 2016
No, that won't work. The MATLAB Runtime is not currently supported on the RaspberryPi. It just runs on platforms where MATLAB runs.
Osumanu Ra-is
Osumanu Ra-is am 15 Mär. 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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB Support Package for Raspberry Pi Hardware finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 14 Mär. 2016

Kommentiert:

am 15 Mär. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by