Giter Club home page Giter Club logo

sfnd-3d-object-tracking's Introduction

SFND 3D Object Tracking

Dependencies for Running Locally

Basic Build Instructions

  1. Clone this repo.
  2. Make a build directory in the top level project directory: mkdir build && cd build
  3. Compile: cmake .. && make
  4. Run it: ./3D_object_tracking. (If you have run-time error, you may need to re-download the yolov3.weights. just run wget "https://pjreddie.com/media/files/yolov3.weights", and copy yolov3.weights into dat/yolo/)

rubric

FP.1 Match 3D Objects

The matchBoundingBoxes functon is implemented. I take one matched keypoint at a time find the corresponsing point in current and prev frame, then I check which bounding box in prev and curr frame the point belong to, once found store the value and increment the count check line 283-332 in camFusion_student.cpp.

FP.2 Compute Lidar-based TTC

First, I find closest distance to Lidar points within ego lane, then I use the equation that I learned from the TTC section to compute the TTC. check line 238-280 in camFusion_student.cpp.

FP.3 Associate Keypoint Correspondences with Bounding Boxes

First, I take one match pair, then if the previous keypoint and current keypoint are within the same bounding box, then we add this match to a vector. After finishing the loop, I assign the obtained vector to boundingBox.kptMatches. Then I filter out the outliers based on their distance. check line 145-178 in camFusion_student.cpp.

FP.4 Compute Camera-based TTC

This section is heavily based on the previous practice code. First I compute distance ratios between all matched keypoints, then I use median of computed distance ratio, and apply the equation I learned to compute TTC. check line 182-235 in camFusion_student.cpp.

FP.5 Performance Evaluation 1

alt text Based on the given sequence, I think the faulty measurement is at frame 4. This is because there are points located on the other object rather than the car that is at front.

FP.6 Performance Evaluation 2

alt text

  1. The detector/descriptor combination has been listed here. From this spread sheet, we know FAST/BRIEF combination is the best because it is the most efficient combination and the TTC is reasonalbly good.
  2. From the image sequcene provided, the faulty measurement is at frame 5. I think this is due to too many mismatched keypoints.

sfnd-3d-object-tracking's People

Contributors

yuan0623 avatar swwelch avatar sudkul avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.