How to save 1 xml file for 1 movement?

asked 2017-02-26 01:29:54 -0500

Nuz gravatar image

I am having difficulty in understanding how to save 1 xml file for a movement.

I have a folder of frames and I have performed the hog feature of each frame and save their corresponding xml files in a folder. Now, how to save the xml files into a single xml file, so as to represent one single movement??

edit retag flag offensive close merge delete

Comments

well, when i asked you the last time, "do you want to save them into a single file ?", - you said no :\

sure, you can save it as a "list of hog features", but how would that "represent one single movement" ?

can you try to explain ?

berak gravatar imageberak ( 2017-02-26 01:45:32 -0500 )edit

@berak yes, but i wanted to perform the hog feature for each frame first :3 I have extracted all frames from a video playing football consisting of different movements...i need to find xml for each movement...and i have already computed the hog feature of a set of frames representing one movement..

Nuz gravatar imageNuz ( 2017-02-26 02:51:17 -0500 )edit

ok, say you have an xml with N hogfeatures, representing a movement.. what are you planning to do, then ?

berak gravatar imageberak ( 2017-02-26 03:28:19 -0500 )edit

Then, i will use the xml file for to perform SVM classification @berak

Nuz gravatar imageNuz ( 2017-02-26 04:17:17 -0500 )edit

rather think about, how to organize your data for the svm, than how to write yet another intermediate xml file (imho, this adds only complication here) . so, how do you want to do that ?

berak gravatar imageberak ( 2017-02-26 05:46:31 -0500 )edit

@berak I want to know how to save it as a list of hog feature in a single xml?

Nuz gravatar imageNuz ( 2017-02-26 07:33:59 -0500 )edit

yea, and then you'll want to know, how to read a list of hog features....

and it's all wasted time.

berak gravatar imageberak ( 2017-02-26 08:12:22 -0500 )edit