Hi.
I have a python module working that I just entered over the top of JeVois PythonTest 640x480 @ 15fps using JeVois-Inventor. The program simply sends the serial message "TARGET" when it spots the target using some funky OpenCV code. The program is working great. I have created the processNoUSB function as well and have test it successfully in headless mode; I can see "TARGET" coming through the USB interface.
Needless to say to do this, I had to set the initscript.cfg to
setmapping2 YUYV 320 264 30.0 JeVois PythonTest
setpar serout USB
streamon
However it is slightly slow so I have copied the python module to PyClassificationDNN 320 x 264 @ 30fps. I was sure to rename the module to "PyClassificationDNN" from "PythonTest" in the code. It works even better than the first version with an insane frame rate and lots of serial messages appearing in the log.
To test it in headless mode I changed the initscript.cfg to
setmapping2 YUYV 320 264 30.0 JeVois PyClassificationDNN
setpar serout USB
streamon
I then went into headless mode and this is my problem. The serial messages do not appear in the log window in headless mode in PyClassificationDNN but they do in PythonTest even though they are the same program.
I am very confused.
Interestingly, the user interface says at the top right "Supports mappings with NO USB output: Yes" for PythonTest but it says "Supports mappings with NO USB output: No" for PyClassificationDNN. Could this have something to do with it? Where does this setting come from? (I do note http://jevois.org/qa/index.php?qa=2291&qa_1=wrote-first-machine-vision-module-support-mapping-output-wrong which says that this not working as at 2018 and it should be ignored).
Thanks in advance!
Regards
Dave A