1 Star 0 Fork 0

Menasor / CarND-Vehicle-Detection

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Vehicle Detection Project

code link

In this project ,I use 2 method .At last I choose to combine them .

The goals / steps of this project are the following:

1 use cnn to get the feature of image

2 train model with datasets

3 get window lists which start_y between 400 and 660.

4 evaluate the image with model and choose the widow of the accuracy which above 0.5

5 draw rectangle

6 add heat ,apply thresold ,get labels

7 draw bouding box.

Explore Points

First I use svm to practice my model. the code is in svm_pipline.py,I got 97% accuracy,

but I can't deal with those false positive

you can found in test out_put image

false positive

false positive

and when i practice in test video ,it becomes even worse. It use about 30 minute to process the video,I can't stand it

Expore cnn method

I wonder why do not try cnn. at first i want to use faster-cnn, but it's not easy to understant rpn network.

At last inspire by the https://github.com/maxritter/SDC-Vehicle-Lane-Detection. I decided to design my network.

maxritter's network maybe looks well,but it use too many params,it runs out of memory of my GPU.

I reduce the some layer to practice more efficiently.

model

there are only 7137 params in my model !and i use only 255s to practice my model.and the test accuracy is about 99% it seems good

run's time

slide and search windows

just like the teach video I search the window of image which starty above 400 and endy below 600.

because the car will only exists in this area.

and use the model to predict whether the images is car or not car. if the probability above 0.5 then car,otherwise not car.

run's time

run's time

compare svm out_put it seems right.

apply heat and thresold

here is the result of test5 and test6 heatmap

heatmap5

heatmap5

Video Implementation

==========================

  1. test video result

Here's a link to test result

2 project video result

Here's a link to my video result

Discussion

1 the handle time is still too long 2 slide and search window is not the most efficient method,i think we can use some algorithm to find out the area of car 3 the bound in video is not steady and smooth 4 there are some rectangles are not cover all the car.

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/TTzhan/CarND-Vehicle-Detection.git
git@gitee.com:TTzhan/CarND-Vehicle-Detection.git
TTzhan
CarND-Vehicle-Detection
CarND-Vehicle-Detection
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891