-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In detections message: source_img is empty #59
Comments
Hmm since another node sends detectNet the images, I am not sure how you would determine the image filename that an image subscriber receives. Do you know if that is possible in ROS? |
I think, taking the header (essentialy the time stamp) of the image used for detection and publish it in the |
There isn't a defined message in ROS that captures the img file and metadata, what I do is time stamp a frame in a data store like postgres with all metadata about the box. |
OK, gotcha - I timestamp the detection message here: ros_deep_learning/src/node_detectnet.cpp Line 148 in ac40e93
Although it seems there is some other header in the message for another timestamp. You could try setting that other header if you want. |
I think more along the lines of adding something like
to add a source image-related time stamp to each individual set of detections. I will try this and let you know how it works... |
Ok, did a (very) quick test, it works so far:
A nice side-effect is, that the Using this node has been and still is a very pleasant experience, thanks again for providing it... :-) |
Looking deeper into it I found the correlation I was looking for. I recorded a rosbag from the topics of interest
When viewing them in |
Problem solved, I will try to make a PR after I learned more about the implications of the code change... |
Hi,
I currently try to evaluate the performance of my detection node with a recorded rosbag I added ground truth to for every image in the sequence.
Unfortunately the
source_img
information is not provided in thedetections
message:Is there a possibility to determine what exact image a certain detection is derived from?
The text was updated successfully, but these errors were encountered: