0

I bought an openmv camera, and I don't understand how to work with it. As I understand it, it is main.py a script in which you can write your own code to work with it. Okay, that's clear.

But here's the question: I want to write 1 more qt app that will work with this script on the camera, that is, for example, I have a script on the camera that stores the value string = "string".

I want to get this value in my qt app, but I can't seem to understand how, if it is not clear how to run the script on the camera, through my qt app. I kind of understood that main.py should be written in MicroPython, or something like that, but I am confused.

To summarize, I need to link my scripts on a PC with a script main.py lying on the camera connected via USB. I thought to do it through the com ports, but how do I run the script on the camera so that the com ports listen to each other?

I tried to do it via COM ports, and the idea came up to do it via sockets, but I'm not good at it, + you can probably write a web API for data exchange. But I don't think this is a good idea. Why do I need a web API if the devices are connected via USB?

opeonikute
  • 494
  • 1
  • 4
  • 15
Timama
  • 1
  • 2
  • Welcome to [so]. Please read [How To Ask a Good Question](https://stackoverflow.com/help/how-to-ask). "please help me" is [not a question](https://meta.stackoverflow.com/questions/284236/why-is-can-someone-help-me-not-an-actual-question); we don't write code to specification. [You are expected to study the problem](https://meta.stackoverflow.com/questions/261592/how-much-research-effort-is-expected-of-stack-overflow-users) ahead of time; think of logical steps to solve the problem; figure out exactly where you are stuck, and be able to show exact input and output. – itprorh66 Sep 02 '23 at 18:20

0 Answers0