Import data on matlab

Discussion related to "under the hood" OpenMV topics.
GiusB
Posts: 5
Joined: Wed Dec 18, 2019 3:15 am

Import data on matlab

Postby GiusB » Mon Jan 13, 2020 4:35 am

Hello,

I wrote a program that allows me to identify the yellow color and see the position of the center of the box (surrounding it) in real time.

I can read the coordinates of the center in pixels from the terminal,
is it possible to pass these values on matlab/simulink directly?

Thank you!
User avatar
iabdalkader
Posts: 1180
Joined: Sun May 24, 2015 3:53 pm

Re: Import data on matlab

Postby iabdalkader » Mon Jan 13, 2020 10:40 am

I don't have much experience with matlab, but if you can open a serial port in matlab you should be able to read those values, also try searching the forums you should find some posts about matlab and openmv.
GiusB
Posts: 5
Joined: Wed Dec 18, 2019 3:15 am

Re: Import data on matlab

Postby GiusB » Tue Jan 14, 2020 4:31 am

Otherwise is it possible to connect the camera with an arduino system and process this data?
User avatar
iabdalkader
Posts: 1180
Joined: Sun May 24, 2015 3:53 pm

Re: Import data on matlab

Postby iabdalkader » Tue Jan 14, 2020 6:19 am

GiusB wrote:
Tue Jan 14, 2020 4:31 am
Otherwise is it possible to connect the camera with an arduino system and process this data?
Yes, see the Arduino examples in the IDE menu.

Return to “Technical Discussion”

Who is online

Users browsing this forum: Google [Bot] and 7 guests