Ask Your Question
0

why we should create .vec files to train harr cascade classifier.

asked 2018-02-27 07:01:32 -0600

Akshata7 gravatar image

Hi, I am not understanding why we are creating .vec files during positive samples creation using opencv_createsamples. Why it is required and how the image data is stored in it (any format?). Please reply i am a beginner in opencv, thanks in advance.

edit retag flag offensive close merge delete

Comments

I am able to create samples and generate .vec files and also able to merge all .vec files into one file using mergevec.py , but i want to know why we are creating vector files for each image sample?.

Akshata7 gravatar imageAkshata7 ( 2018-02-27 22:58:40 -0600 )edit

@Akshata7, please read the tutorial carefully. The official one is NEVER using a mergevec.py program, because that described approach in several tutorials simply does not yield decent results. IF you want to know why, have a read of chapter 5 in the book OpenCV 3 Blueprints, which discusses the whole pipeline in detail. It has also been explained over thousand times on this forum, that using the artificially modified data does not help to build robuster detectors.

StevenPuttemans gravatar imageStevenPuttemans ( 2018-02-28 02:56:31 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2018-03-01 01:31:09 -0600

Akshata7 gravatar image

Thank you, I will read it.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-02-27 07:01:32 -0600

Seen: 366 times

Last updated: Feb 27 '18