Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers.
Welcome to JeVois Tech Zone, where you can ask questions and receive answers from other members of the community.

How-to: YOLO + save video/detections to SD + adding serial information

0 votes

Hi,

What is needed in order to add YOLO the following:

1.save to SD option Video/Frames based on serial commands

2.adding more serial print information 

Thanks,

Danny

asked Jun 6 in Programmer Questions by berler_d (180 points)

1 Answer

0 votes
If you are setup with the JeVois C++ SDK on Ubuntu, then just add a line in the DarknetYOLO.C code to do a cv::imwrite() of the image, plus one boolean parameter to control when to save from the command-line interface. You can then also add the extra info. Currently I am afraid this is the only way, as YOLO is not available on the python side of things If you are not familiar with Linux and C++, there will be a learning curve with getting this to work.
answered Jun 7 by JeVois (30,640 points)
Thanks for the answer, Assuming I'm familiar with C++, what I need to do ?
well, as I said, you would just add one line in DarknetYOLO.C with a cv::imwrite() command to save your image.

Then you can add one or more lines that call sendSerial() for your additional serial info. Then recompile and flash to microSD. Have a look here for instructions:

http://jevois.org/tutorials/ProgrammerSetup.html
...