Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

How to implement an cascade classifier OpenCV in a hexadecimal array

$
0
0

Hello,

I am using TMDXLCDK6748, this a DSP board with a single core. I want to use this board in biometrics aplications.

To do that, I am going to start working with facedetect example which is in the C6SDK. This example uses OpenCV library, precompiled for DSP. Also, the example uses a OpenCV casacde classifier which is in a hexadecimal array saved in a .h

Normally the OpenCV classifiers are in .xml, but the example uses an OpenCV classifier saved in a hexadecimal array because this DSP board cannot read a .xml file.

I need to use another OpenCV cascade classifier, but every OpenCV classifier are saved in .xml. I need to convert this OpenCV classiffier in .xml file to an hexadecimal arrray saved in .h, to use it in my project.

I talked to TI technic (asktexas@ti.com) and he told me that I had to write the question in this forum. I tried to write the same question in other forum as TI-RTOS Forum and C67x Single Core DSP Forum. And they told that this is the right forum. Also I tried to find the solution checking in forums but nobody can answer it

So, the question is:

How can I convert the OpenCV classifier saved in .xml to a OpenCV classifier saved in an hexadeciomal array in a file .h?? I think I need to parse it but I do not know how to do it. Texas Instrument parsed the OpenCV classifier for faces in the example facedetect, How did you do it?

Thank you very much

Best Regards


Viewing all articles
Browse latest Browse all 17527

Trending Articles