Import Cascade classifier from Matlab to OpenCV 3.0 - matlab

I have a cascade classifier made with Matlab 2014b, but the XML file says it is only compatible with OpenCV 2.4. I need to use it with OpenCV 3.0. Any way to do this?
Thank you

Unfortunately it is currently not possible to use the XML file with OpenCV 3.0.

Related

How can i import the seedSuperpixel modules?

I wanted to implement the SEEDS Superpixel segmentation algorithm in python using opencv but it looks like other than video module no other module has been put up in order to implement it. Please help me know what module needs to be used to import the seeds superpixel segmentation functionalities?
I was having a similar problem to use SEEDS.
At least for my problem, I had to install "opencv-contrib-python" and uninstall "opencv-python" because both are imported the same way (using "import cv2") but only the contrib version allows you to use SEEDS and other segmentation tools. There is more information here https://pypi.org/project/opencv-python/
I don't know if that will work for others, but solved my problem :)
To use SEEDS for Superpixel segmentation analysis, you need to import cv2.
I found this bit of code and was able to replicate results after installing opencv.

Is it possible to add a custom toolbox to your Matlab Compiler Runtime instalation?

I tried to paste my custom toolbox in default toolbox location.
/usr/local/MATLAB/MATLAB_Runtime/v85/mcr/toolbox/
It doesn't seems to work.
No, the MCR can only execute compiled code.
You would need to include your custom toolbox into a compiled application.

Is surf descriptor extractor still available in opencv3.1?

Does anybody know if surfdescriptorextractor is still available in opencv 3.1? if it is how may i use it can you direct me? Thanks in advance
It's not included by default after Opencv 3.0, now this is in opencv_contrib at xfeatures2d module. You will need to compile with the contrib module.
https://github.com/Itseez/opencv_contrib/tree/master/modules/xfeatures2d/src
Look for a similar question
How do I use SIFT in OpenCV 3.0 with c++?

Using ThermoPower library in Modelica

I'm completely new to Modelica, and so I may not have a complete handle on the subject at this point. I'm trying to use the ThermpoPower 2.1 library, but it doesn't run on the OpenModelica software I have. I did some googling and my search says the library is compatible with Modelica 2.2.
Well I have OpenModelica 1.9 which is the latest version! I assume Modelica and openmodelica are two different softwares. So I looked up Modelica 2.2 to see if I can find it and download it but I was unsuccessful. Can anyone help me here?
Thanks everyone!
OpenModelica partially supports ThermoPower 3.1:
https://test.openmodelica.org/libraries/trend.html
I suggest you get the latest nightly-build which includes ThermoPower 3.1:
https://build.openmodelica.org/omc/builds/windows/nightly-builds/

Use opencv in mex function

I wanted to use opencv library in a mex function but it just kept telling me that opencv functions had not been declared. So I searched a bit and found out I should link them somehow but I couldn't figure out how.
Can anybody help me with that?
I'm using opencv2.4.2 and matlab 2012 on a 64-bit ubuntu11.10
Ok so i could't exactly solve the problem but I found this project which had done it and I just edited its functions and it worked fine.