BitsRobocon / AutonomousDrone

Autonomous Drone for Indoor Navigation and Parcel Delivery
8 stars 5 forks source link

[WIP] Object Detection #15

Open anirudhs001 opened 3 years ago

anirudhs001 commented 3 years ago

The drone needs to do object detection to have any real utility. That means finding the 3D coordinates of nearby objects(as many as possible). These detections will then be used to aid in Path planning, since the motion of the detected obstacles can be used to model and predict their state in the future which will help plan safer trajectories.

Since the bot is equipped with a lidar and a stereo camera as well, we decided to go ahead with just stereo cameras for now. This is mainly to make the pipeline as streamlined and fast as possible. The process of getting the depth information from stereo image pairs is called stereopsis. We and all other 2-eyed animals do it all the time. Checkout OpenCV: Depth Map from Stereo Images

The current plan is to directly apply the object detector on the stereo images, without calculating the disparity map or the point cloud. Again, this is done to speed things up; Disparity calculation takes time(checkout this link at computerphile: Stereo 3D Vision to get a feel. Still, there are existing ros packages like stereo_image_proc - ROS Wiki that do it, if one wants to try.

What’s done and what needs to be: