I am using the JeVois A33 cam for object detection and recognition and I have a Python problem. I want to interrupt a while loop with an external command via 4-Pin Hard serial from an Arduino. Inside this loop the parseSerial will not function. Do I have another possibility to receive a comand (f.e. the string "stop") inside the while loop in my JeVois cam software, coming from the Arduino, so I can interrupt the loop in my A33 software?
I tried also import serial, but I got an error message.
Perhaps someone can help me with my problem. Thank you very much.