I have made a object detection module that detects animal using tensorflow,I am adding an alarm system with arduino. i need detections sent to arduino
I cant seem to understand what part of the code should be sent to arduino, basically my idea is that the alarm goes off anytime the model makes a detection. My plan was to use the detections[‘detection_boxes’] as a boolean value and I send arduino “on” string,if the detections[‘detection_boxes’] is true, which then rings an alarm through arduino. BTW I have used pyserial to connect arduino to the model.(Also i would like to mention, I am still a beginner:)