Use OpenMV camera for another Python script

OpenMV related project discussion.
veronica
Posts: 3
Joined: Wed Oct 10, 2018 7:24 pm

Use OpenMV camera for another Python script

Postby veronica » Thu Nov 08, 2018 1:28 am

Hi,

I have a project where I want to run a script in Python on my computer, but at some point in the script I want to be able to take a picture using the OpenMV camera, and then either send that image back to the original Python script (and do image analysis afterwards), or do image analysis from the camera, and then send the result back to the original Python script; in the original Python script, I will need to be able to take a picture multiple times using the OpenMV camera. Is there a demo script that does something like this already? If not, is there something similar/what should I look into in order to do this?

Thanks
veronica
Posts: 3
Joined: Wed Oct 10, 2018 7:24 pm

Re: Use OpenMV camera for another Python script

Postby veronica » Sat Nov 10, 2018 7:36 pm

Thanks for the reply kwagyeman!

I've never done anything like this before (sending commands through USB/working with an external device), are there any resources you might recommend; I am looking through the MicroPython documentation right now but nothing else.

Thanks
User avatar
kwagyeman
Posts: 2387
Joined: Sun May 24, 2015 2:10 pm

Re: Use OpenMV camera for another Python script

Postby kwagyeman » Sat Nov 10, 2018 10:26 pm

It's just python with an I/O device. It's really not that hard. Just start coding and it will make sense. The scripts pretty much detail what to do.
Nyamekye,
veronica
Posts: 3
Joined: Wed Oct 10, 2018 7:24 pm

Re: Use OpenMV camera for another Python script

Postby veronica » Sun Nov 11, 2018 8:51 pm

Thanks for all the help kwagyeman :D I'll test things out and see how everything goes

Return to “Project Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests