How to run 2 script at the same time

Discussion related to "under the hood" OpenMV topics.
vnova06
Posts: 6
Joined: Sat Jul 20, 2019 10:21 pm

How to run 2 script at the same time

Postby vnova06 » Sun Oct 20, 2019 7:44 pm

Hello,
My team and I are working on a group project at university and are pretty new to using the OpenMV Cam H7.
We need to run two programs at the same time: one program to handle TCP connections and a second to perform facial detection/recognition.
How can we run the two scripts that we wrote at the same time while disconnected from the IDE?
Thanks.
User avatar
kwagyeman
Posts: 4271
Joined: Sun May 24, 2015 2:10 pm

Re: How to run 2 script at the same time

Postby kwagyeman » Sun Oct 20, 2019 9:27 pm

Hi, you need to combine the two scripts within the same loop. We don't support threading yet so timing effects of on script will affect the other.
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 17 guests