MATLAB Answers

Using a native terminal command on raspberry pi and simulink programming.

2 views (last 30 days)
Jose
Jose on 25 Mar 2014
Answered: Murat Belge on 26 Mar 2014
Hi,
I am using the raspberry pi to do some image processing. I have a third party mex file of tesseract-OCR (optical character recognition) that works well with MATLAB. However, it is not supported by MATLAB's code generation to program on my raspberry pi.
My question is if I can install tesseract on my raspberry pi and use the native Rpi function in simulink. I assume this may work since the code is ran natively on the raspberry pi.
If it is possible, what literature do you suggest me to read? My ultimate goal is to use tesseract-ocr and have simulink generate the proper code to use it on my Rpi. Any help is appreciated.
Note: my university does not have MATLAB 2014 version so I can not use the ocr() function, which uses tesseract.
Thanks

  0 Comments

Sign in to comment.

Answers (1)

Murat Belge
Murat Belge on 26 Mar 2014
So the tesseract-ocr is available on Raspberry Pi. You need to follow instructions above for installation. Once installed, you can call into the OCR engine from a Simulink model. For an example, look into the following File Exchange submission: http://www.mathworks.com/matlabcentral/fileexchange/38508-access-gpio-pins-on-beagleboard-from-simulink

  0 Comments

Sign in to comment.

Sign in to answer this question.