ultralytics_ros icon indicating copy to clipboard operation
ultralytics_ros copied to clipboard

Ensure BGR Encoding Compliance for Images Passed to track Function

Open Alpaca-zip opened this issue 1 year ago • 2 comments

Quoted from: https://github.com/Alpaca-zip/ultralytics_ros/pull/15

The current implementation I've written does not explicitly handle the encoding of the subscribed topics; it simply passes the images to the track function as a numpy array. However, as per the official Ultralytics documentation, images passed to this function are expected to be in BGR encoding.

Tasks

  • [ ] melodic-devel
  • [x] noetic-devel
  • [x] humble-devel

Alpaca-zip avatar Aug 10 '23 16:08 Alpaca-zip

Hello @Alpaca-zip, this is a very interesting project, and thank you for sharing.

I have everything running but I am not receiving any image output on the image topics in RVIZ. I am only running the "tracker.launch" file. Am I doing something wrong, or would this problem be related to the BGR encoding issue mentioned above?

Thanks!

JPhiDev avatar Aug 27 '23 06:08 JPhiDev

Hello @Alpaca-zip, this is a very interesting project, and thank you for sharing.

I have everything running but I am not receiving any image output on the image topics in RVIZ. I am only running the "tracker.launch" file. Am I doing something wrong, or would this problem be related to the BGR encoding issue mentioned above?

Thanks!

#21

Alpaca-zip avatar Aug 28 '23 08:08 Alpaca-zip