OpenMV Cam M7 Text Recognition

Discussion related to "under the hood" OpenMV topics.
User avatar
alpha91
Posts: 5
Joined: Thu May 16, 2019 10:17 pm

OpenMV Cam M7 Text Recognition

Postby alpha91 » Fri May 17, 2019 1:53 am

Hi all, I am new to OpenMV Cam and I am require to use OpenMV M7 to detect text and character and send the output to Raspberry Pi

I find this OpenMV from Youtube

https://www.youtube.com/watch?v=xK1V06AMZx8

and OpenMV side having this tutorial https://github.com/kwagyeman/openmv/tre ... ml/cmsisnn

I dont understand here is, is that i must setup the environment to achieve the text reading function of OpenMV M7?
Or is there anyone use M7 cam to recognize text before can guide me on this?
User avatar
kwagyeman
Posts: 3207
Joined: Sun May 24, 2015 2:10 pm

Re: OpenMV Cam M7 Text Recognition

Postby kwagyeman » Fri May 17, 2019 2:16 am

It doesn't run on the M7. It runs on the H7 model. If you want to run it on the M7 you have to re-train the network to be smaller.

If you buy the OpenMV Cam H7 we have the demo ready to run and included with the IDE.
Nyamekye,
User avatar
alpha91
Posts: 5
Joined: Thu May 16, 2019 10:17 pm

Re: OpenMV Cam M7 Text Recognition

Postby alpha91 » Fri May 17, 2019 2:25 am

kwagyeman wrote:
Fri May 17, 2019 2:16 am
It doesn't run on the M7. It runs on the H7 model. If you want to run it on the M7 you have to re-train the network to be smaller.

If you buy the OpenMV Cam H7 we have the demo ready to run and included with the IDE.
Oh... I didnt know that and i already get the M7.
Is there any guide on how to re-train the network?
To be honest, i just get to understand the Neuron network thing and still trying to figure how it actually works.
I am totally beginner in this :D
User avatar
iabdalkader
Posts: 918
Joined: Sun May 24, 2015 3:53 pm

Re: OpenMV Cam M7 Text Recognition

Postby iabdalkader » Fri May 17, 2019 10:02 am

alpha91 wrote:
Fri May 17, 2019 2:25 am
Is there any guide on how to re-train the network?
Yes, to retrain a network just follow the guide for the network you want:

https://github.com/openmv/openmv/blob/m ... /README.md

Of course you need to reduce the size of the network to fit the F7 (maybe just reduce IP1 to 50 or something).

This is a good introduction to NNs:
https://adeshpande3.github.io/adeshpand ... -Networks/
https://adeshpande3.github.io/A-Beginne ... ks-Part-2/

And this is a practical tutorial:
http://adilmoujahid.com/posts/2016/06/i ... hon-caffe/
User avatar
alpha91
Posts: 5
Joined: Thu May 16, 2019 10:17 pm

Re: OpenMV Cam M7 Text Recognition

Postby alpha91 » Sun May 26, 2019 9:17 pm

iabdalkader wrote:
Fri May 17, 2019 10:02 am
alpha91 wrote:
Fri May 17, 2019 2:25 am
Is there any guide on how to re-train the network?
Yes, to retrain a network just follow the guide for the network you want:

https://github.com/openmv/openmv/blob/m ... /README.md

Of course you need to reduce the size of the network to fit the F7 (maybe just reduce IP1 to 50 or something).

This is a good introduction to NNs:
https://adeshpande3.github.io/adeshpand ... -Networks/
https://adeshpande3.github.io/A-Beginne ... ks-Part-2/

And this is a practical tutorial:
http://adilmoujahid.com/posts/2016/06/i ... hon-caffe/

Hi, alright. thanks for sharing. :D
User avatar
alpha91
Posts: 5
Joined: Thu May 16, 2019 10:17 pm

Re: OpenMV Cam M7 Text Recognition

Postby alpha91 » Mon May 27, 2019 9:21 pm

iabdalkader wrote:
Fri May 17, 2019 10:02 am
alpha91 wrote:
Fri May 17, 2019 2:25 am
Is there any guide on how to re-train the network?
Yes, to retrain a network just follow the guide for the network you want:

https://github.com/openmv/openmv/blob/m ... /README.md

Of course you need to reduce the size of the network to fit the F7 (maybe just reduce IP1 to 50 or something).

This is a good introduction to NNs:
https://adeshpande3.github.io/adeshpand ... -Networks/
https://adeshpande3.github.io/A-Beginne ... ks-Part-2/

And this is a practical tutorial:
http://adilmoujahid.com/posts/2016/06/i ... hon-caffe/

Hi, sorry. Can I ask for setting up the Ubuntu for deep learning is for what purpose?
Is the OpenMV cam have to work with that environment?
Actually what I thinking about the text recognition function is that I need to write a Python program and load into OpenMV M7, which my OpenMV camera is a standalone device for this function. Then I can write a function for it to send out the reading result via I2C.

Is my concept on this correct?
User avatar
iabdalkader
Posts: 918
Joined: Sun May 24, 2015 3:53 pm

Re: OpenMV Cam M7 Text Recognition

Postby iabdalkader » Mon May 27, 2019 11:42 pm

It's for retraining the network, you said you wanted to retrain the network to work on the F7.
User avatar
alpha91
Posts: 5
Joined: Thu May 16, 2019 10:17 pm

Re: OpenMV Cam M7 Text Recognition

Postby alpha91 » Tue May 28, 2019 2:05 am

I see.... alright. thanks

Return to “Technical Discussion”

Who is online

Users browsing this forum: Cat and 47 guests