I am using the OpenMV camera to stream jpg images to my computer.
I would like to be able to change some GPIO pin states while the stream buffer is on and streaming to the pc.
For example, I would like to switch GPIO pins connected to relays of different lighting sources while streaming the images (to get better lighting, different viewpoints, etc.).
I attempted to pass it as an additional str element in the following function call that passes data to the camera’s jpeg_image_stream function,
result = interface.call(“jpeg_image_stream”, “sensor.GRAYSCALE,sensor.QVGA,”+str(controlGPIO))
but it does not seem to work.
Do you support this feature or have code that could be used to control GPIOs while streaming from the camera?
Thank you in advance.