Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
Because of un-manageable amounts of spam despite our use of CAPTCHAs, email authorization, and other tools, we have discontinued this forum (see the 700k+ registered users with validated email addresses at right?). Please email us any questions or post bug reports and feature requests on GitHub at https://github.com/jevois -- The content below remains available for future reference.
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, 2018 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, 2018 by JeVois (46,580 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
...