Skip to content

AnastaciaVolkova/SFND_3D_Object_Tracking

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SFND 3D Object Tracking

Welcome to the final project of the camera course. By completing all the lessons, you now have a solid understanding of keypoint detectors, descriptors, and methods to match them between successive images. Also, you know how to detect objects in an image using the YOLO deep-learning framework. And finally, you know how to associate regions in a camera image with Lidar points in 3D space. Let's take a look at our program schematic to see what we already have accomplished and what's still missing.

In this final project, you will implement the missing parts in the schematic. To do this, you will complete four major tasks:

  1. First, you will develop a way to match 3D objects over time by using keypoint correspondences.
  2. Second, you will compute the TTC based on Lidar measurements.
  3. You will then proceed to do the same using the camera, which requires to first associate keypoint matches to regions of interest and then to compute the TTC based on those matches.
  4. And lastly, you will conduct various tests with the framework. Your goal is to identify the most suitable detector/descriptor combination for TTC estimation and also to search for problems that can lead to faulty measurements by the camera or Lidar sensor. In the last course of this Nanodegree, you will learn about the Kalman filter, which is a great way to combine the two independent TTC measurements into an improved version which is much more reliable than a single sensor alone can be. But before we think about such things, let us focus on your final project in the camera course.

Dependencies for Running Locally

Basic Build Instructions

  1. Clone this repo
  2. Get media data
git lfs pull
  1. Make a build directory in the top level project directory: mkdir build && cd build
  2. Compile: cmake .. && make
  3. Run it: ./3D_object_tracking.

Run

./3D_object_tracking -det detectorType -des descriptorType -sel selectorType -mat matcherType -dir save_dir -vis 0|1
  • detectorType: SHITOMASI, HARRIS, FAST, BRISK, ORB, AKAZE, SIFT (default SHITOMASI)
  • descriptorType: BRISK, BRIEF, ORB, FREAK, AKAZE, SIFT (default BRISK)
  • matcherType: MAT_BF, MAT_FLANN (default MAT_BF)
  • selectorType: SEL_NN, SEL_KNN (default SEL_NN)
  • save_dir: directory to save images. Is used only if -DSAVE is set (default ./out)

Build to save images without visualizing

cmake -DSAVE=on ..

FP.0 Final Report

Assignment Function Call Declared Defined Return What is it
FP1 matchBoundingBoxes FinalProject_Camera.cpp:304 camFusion.hpp:14 camFusion_Student.cpp:354 matches ids pairs of the matched regions of interest
FP2 computeTTCLidar FinalProject_Camera.cpp:342 camFusion.hpp:20 camFusion_Student.cpp:305 TTC time-to-collision based on Lidar data
FP3 clusterKptMatchesWithROI FinalProject_Camera.cpp:349 camFusion.hpp:13 camFusion_Student.cpp:150 boundingBox.kptMatches Keypoint matches which correspond to a given bounding box
FP4 computeTTCCamera FinalProject_Camera.cpp:350 camFusion.hpp:18 camFusion_Student.cpp:228 TTC time-to-collision based on keypoint correspondences in successive images
FP5 Done in FP56.pdf and fp5_6.xlsx
FP6 Done in FP56.pdf and fp5_6.xlsx

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 85.7%
  • Python 13.3%
  • CMake 1.0%