Converting matlab code to python

1 回表示 (過去 30 日間)
Osumanu Ra-is
Osumanu Ra-is 2016 年 3 月 14 日
コメント済み: Osumanu Ra-is 2016 年 3 月 15 日
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

回答 (1 件)

Michelle Hirsch
Michelle Hirsch 2016 年 3 月 14 日
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 件のコメント
Michelle Hirsch
Michelle Hirsch 2016 年 3 月 15 日
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 2016 年 3 月 15 日
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

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMATLAB Support Package for Raspberry Pi Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by