Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers.

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 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 by JeVois (39,600 points)
...