Ask Your Question

hritzanimesh's profile - activity

2020-05-02 16:06:48 -0600 received badge  Popular Question (source)
2017-08-29 16:59:35 -0600 received badge  Student (source)
2015-02-16 01:18:11 -0600 received badge  Editor (source)
2015-02-15 23:04:46 -0600 asked a question RGB to NV21 conversion

Hi All

I know that cvtColor function uses CV_YUV2RGB_NV21 flag to convert YUV420sp format to RGB format. However, I don't see any flag to convert RGB to YUV420sp. Am I missing something or is it not possible to convert RGB image to YUV420sp through opencv?

Thanks Animesh

2015-02-06 15:15:28 -0600 asked a question OpenCV inside AOSP

Hi

I am trying to add OpenCV libraries inside AOSP. Since, AOSP does not have a complete STL support, building Android with OpenCV generates a lot of errors. I am wondering if anyone has successfully done this and can help me with this.

2014-11-25 14:20:28 -0600 received badge  Supporter (source)
2014-11-06 15:27:20 -0600 commented question Convert new format haarcasccade xml file to old format

It seems there isn't any way to achieve this. It is sad that the documentation is misleading.

2014-10-30 10:34:40 -0600 commented question GPU cascade classifier and cascade format

I am in a similar situation where I would like to convert new cascade xml file to the old xml format. Were you able to resolve the issue?

2014-10-29 17:59:37 -0600 commented question Convert new format haarcasccade xml file to old format

@berak I am working on GPU version of haar object detection. For that I need the haar classifier file to be loaded in the gpu::CascadeClassifier_GPU class. It turns out that it doesn't support the new xml format.

2014-10-24 22:54:04 -0600 asked a question Convert new format haarcasccade xml file to old format

I have a haarcascade file generated using opencv_traincascade which generates an xml file. The format of this xml file is different from that of generated by opencv_haartraining.

OpenCV documentation says that opencv_traincascade can save (export) a trained cascade in the older format. However, I have not found any way to do this.

I wanted to ask if anybody has any luck in converting a new format haarcascade xml file to the older format.

2014-10-24 22:44:49 -0600 commented answer opencv_traincascade old format problem

But this solution doesn't work. The old xml format is very different from the new format.