Ask Your Question
1

what format is .volkan

asked Apr 24 '13

roomini gravatar image

Hi there can anybody tell me the format of the image used at line number 81 in the code provided by the link below..

http://www.vsalma.com/2009/08/opencv-altnda-svm-kullanmak-opencv-svm.html

can there be any alternative to this format?? please help me in this.

Preview: (hide)

1 answer

Sort by » oldest newest most voted
2

answered Apr 24 '13

berak gravatar image

CvSVM inherits its serialization from Algorhithm, so if the filename ends in '.xml', it saves it as xml, in any other case as yml.

that's what you get here. plain yml.

you could even save it as SVM.pluto or SVM.venus, same difference ;)

Preview: (hide)

Comments

but i want its output in an image format..

roomini gravatar imageroomini (Apr 24 '13)edit

unfortunately, the only way to save float data from opencv is like this. sorry, not possible

berak gravatar imageberak (Apr 24 '13)edit

Access violation reading location 0x00000000. how to solve this exception

roomini gravatar imageroomini (Apr 25 '13)edit

?? where ? above code worked fine here

berak gravatar imageberak (Apr 25 '13)edit

Question Tools

Stats

Asked: Apr 24 '13

Seen: 240 times

Last updated: Apr 24 '13