Ask Your Question
0

What is a .vec file?

asked 2013-09-17 10:54:01 -0600

Infinite Life gravatar image

I'm just yesterday start using OpenCV to train Cascade Classifier. I use createsamples, and it gave me .vec file. What is that this file? I cant find any explanation about this file. How load it into program(VS10), how to display the data in it, etc...

edit retag flag offensive close merge delete

Comments

You should read into the documents, which explains that the vec file contains actually the model training data formatted correctly for efficient training. Look here and here.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-09-17 16:11:21 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-09-18 11:50:48 -0600

From OpenCV Docs :

opencv_createsamples is used to prepare a training dataset of positive and test samples. opencv_createsamples produces dataset of positive samples in a format that is supported by both opencv_haartraining and opencv_traincascade applications. The output is a file with *.vec extension, it is a binary format which contains images.

The .vec is a binary image file. I think it's a vector format of some description but I can't find a source for that.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-09-17 10:54:01 -0600

Seen: 6,481 times

Last updated: Sep 18 '13