uvic-auvic / polaris

2019 Submarine Code.
0 stars 6 forks source link

Debug Gate Detection #14

Open anijjar opened 4 years ago

anijjar commented 4 years ago

Background: The gate detection code does not run correctly. We have rosbag files containing sample videos that I can supply. Goal: Get the gate detection code working in the vision package.

Note: This task will require knowledge on how openCV processes data and a little bit of ROS. speak with robert on OpenCV and myself on ROS.

AntonNiko commented 4 years ago

Issue pinpointed to BuoyDetector.cpp line 20 (hash 726cc87). Two bugs were discovered:

  1. No default value for buoy_type provided to constructor, no error handling
  2. OpenCV complains that parameter detector.buoy_img is not of type CV_8U. Conversions between types is being worked on
robwasmann commented 4 years ago

Anton, I agree that there should be a default case and error handling in BuoyDetector.cpp, but the gate detection is in GateDetector.cpp. Should this bug you found go into Issue #17 perhaps?

AntonNiko commented 4 years ago

That sounds reasonable, I will copy that note into #17