What is stored in descriptor.yml file

asked 2014-12-01 01:07:26 -0600

noobproof gravatar image

Hi everyone,

I am very new to Opencv. I want to know what is stored in "Descriptor.yml" file. I am using this project https://github.com/royshil/FoodcamClassifier. I am trying to understand this project. I want to know what all these numbers mean..

%YAML:1.0 training_descriptors: !!opencv-matrix rows: 17074 cols: 192 dt: f data: [ -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., -431602080., and so on... ]

I am really confused. I am trying to understand how it works. Any hint will be a great help.

Thanks in advance. Aditi K

edit retag flag offensive close merge delete

Comments

bear with me, i'm not all too familiar with that project, but from a short look at it, this should have been the trained BagOfWords dictionary

if all your numbers look like that, it's probably broken, i'd guess your training failed.

but again, don't ask me - ask the guy himself (he usually responds nicely to post on the blog..)

berak gravatar imageberak ( 2014-12-01 06:18:17 -0600 )edit

thanks @berak. Yes my file was broken. Its a trained Vocabulary file, where each column represents a feature of that small image in that ( i-th ) dimension.

noobproof gravatar imagenoobproof ( 2014-12-01 23:45:11 -0600 )edit