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?
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.