How can i create a new SVM file for Apexcv::Hog?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can i create a new SVM file for Apexcv::Hog?

1,288 Views
nskang
Contributor II

안녕하세요?

S32V234-SBC사용자 입니다. 

apexcv::Hog를 사용하여 사물 검색을 하려고 준비중인데,

apexcv::Hog에 설정에 사용되는 Support Vector Machine(SVM)파일을 어떻게 준비해야 하는지 알수가 없어서, 문의 드립니다.

VSDK_S32V2_RTM_1_5_0에 포함되어 있는 Pedestrian_detection의 Demo예제를 사용하여 사물검색을 시도 하고 있습니다.

해당 예제에서는 apexcv::Hog 알고리즘을 사용하여 사물 검색을 진행 하더군요. 그리고 예제에는 설정에 필요한 SVM파일을 "./data/apps/pedestrian_detection/svm_function.bin"을 사용하고 있는데, svm_function.bin파일이 어떻게 해서 생성된 파일인지를 알지 못하고 있습니다. 

혹시나해서, OpenCV를 사용해서 SVM파일을 준비해 보았으나, 잘 안되었습니다.

svm_function.bin파일이 어떻게 생성된 파일인지 모르는 상태에서 확신이 없어서 이것저것 해보고 있습니다. 

svm_function.bin파일이 어떻게 생성된 파일인지 정보 공유 부탁 드리겠습니다.

--------------------------------------------------------------------------------------------------------------------------------------------------------

Hello?

I am a S32v234 user.

I use the demo app("./demos/apps/pedestrian_detection") in the VSDK_S32V2_RTM_1_5_0.

the demo is working normally pedestrian detecting.

so, I am preparing to private application s/w for the motion detecting function with apexcv::Hog in the demo.

but, i'm in a trouble.

I don't know how to prepare the Support Vector Machine(SVM) file used for configuration in apexcv::Hog, so I need help.

In this demo, Motion Detection function using the apexcv::Hog library. and a SVM(svm_function.bin) file is used for initializing apexcv::Hog feature.  (svm_function.bin is located in ./data/apps/pedestrian_detection)

but, i don't know how the file is generated and where i can take it and how i can create a new own SVM file...

I just know that svm_function.bin file is a linear SVM file from the apexcv library document.

please let me know, if you know how to way create new SVM file for apexcv::Hog feature.

thanks,

Labels (1)
1 Reply

1,215 Views
bpe
NXP Employee
NXP Employee

Please be aware, that support to S32V234 Vision subsystem modules is provided only via tickets. You do already have an open ticket for this issue. Please wait for Technical Support response on it. This Community is not appropriate for questions of this kind. 

 
Have a great day,
Platon