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.
We have moved to a new forum at http://jevois.usc.edu, please check it out. The forum at jevois.org/qa will not allow new user registrations but is maintained alive for its useful past questions and answers.
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:

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

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)
...