Closed Petros626 closed 2 years ago
you can add the fps counter on the visualization image,
but we have rostopic hz
, so it seems not exciting to me.
If you want to write the fps counter on visualization image, please change code below.
https://github.com/jsk-ros-pkg/coral_usb_ros/blob/2c5ddeb033a094795db927c31685fd7958104f8f/python/coral_usb/detector_base.py#L146-L194
yes I didn't think about the rostopic hz
will pay attention to that.
Okay so in detector_base.py
everything personal could be add, thats I'm searching for :)
I don't found in launch file or in this script the threshold for proposing the bounding boxes for exampleIoU > 0.5.
we don't have iou_thresh
. we have score_thresh
.
yes right, where i can config it? to change the score_thresh?
score_thresh
can be changed from dynamic reconfigure
.
https://github.com/jsk-ros-pkg/coral_usb_ros/blob/master/python/coral_usb/detector_base.py#L57-L66 https://github.com/jsk-ros-pkg/coral_usb_ros/blob/master/cfg/EdgeTPUObjectDetector.cfg#L9
Hey @knorth55,
I finally reach the last step of my thesis and want to add some functions to the node, which I've found on other examples and from the pycoral API. So my approach is to implement the following: FPS counter (printed in window corner), execution time of the script and the detection results for documentation with pycoral.
the question is now can i just add it in the object_detector.py script or does it have to be added somewhere else in the node. that it is possible and has nothing directly to do with the rviz plug-ins i will assume.
Would be glad about a detailed answer, so that others can expand the node for their own purposes :)
FPS counter:
example execution time:
get results from model: