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.

To activate different Arduino pin based on object position in image.

0 votes

Hi, I am using Darknet Yolo, as of now I am getting serial data as category/score/left/top/width/height, but I need it in  category/score/x-center/y-center/width/height format, Also I would like to activate different GPIO pin based on image x position, could you please help me on this? Thank You.

asked May 30, 2019 in Programmer Questions by ajdhole (160 points)

1 Answer

0 votes
Yes, have a look at this one:


Then, if you want different GPIOs to be activated, you just need a pinMode() statement for each pin in your setup() function, and later a digitalWrite() statement in the loop() function.
answered Jun 17, 2019 by JeVois (46,580 points)