2020-02-04 02:21:11 -0600 | received badge | ● Popular Question (source) |
2018-03-12 11:51:06 -0600 | received badge | ● Notable Question (source) |
2016-10-29 05:56:36 -0600 | received badge | ● Popular Question (source) |
2014-12-26 08:14:41 -0600 | asked a question | Valid XML should start with '<?xml ...?>' in function icvXMLParse I am reading the following yaml file, converted from the xml of pascal VOC 2007: using I get this error: OpenCV Error: Parsing error (/opt/Datasets/VOCdevkit_test/VOC2007/Annotations/000001.yml(1): Valid XML should start with Aborted (core dumped) It is from an existing open source code that has worked in others settings. Does anyone idea of the problem? Is something related with OpenCv version? I am using 2.4.10 |
2014-10-27 10:37:23 -0600 | asked a question | Segmentation fault in pyopencv_from I am implementing a function in cpp that needs to convert a Mat to a PyObject for being passed to Python as a Numpy array. Thus, I am stuck with a segmentation fault error in the m.copyTo(temp) call inside the function pyopencv_from that do the job. Looks like the g_roicropping_numpyAllocator cannot do the job. Here I past the code: } |
2014-10-01 10:07:08 -0600 | commented answer | pyopencv_from and pyopencv_to for KeyPoint class Thanks, I was looking through there since a while. I will try to figure out what I need for transforming a cv::KeyPoint to a cv2.KeyPoint, attributes included. |
2014-10-01 08:58:08 -0600 | commented answer | pyopencv_from and pyopencv_to for KeyPoint class Yes, I have been working on it but still I cannot figure out few things. During compilation time some other c++ code is produced and contains certain functione, such as pyopencv_from and pyopencv_to for KeyPoint. I have managed to transform vector of KeyPoint from C++ to Python by using pyopencv_from generated in release/modules/python/pyopencv_generated_types.h. However, the KeyPoint object that I have wrapped in Python do not have any of its correct attribute. I have found out also where getter and setter method are implemented. However, it is like I am missing the declaration of the PyObject attributes, and I do not have a clue on how and where this is done in OpenCV wrapping process. |
2014-10-01 08:20:24 -0600 | received badge | ● Supporter (source) |
2014-10-01 08:19:54 -0600 | commented answer | pyopencv_from and pyopencv_to for KeyPoint class Thanks, really helpfull. Still, do you know how to manage the conversion of keypoint from cpp to python? I would like to exploit also GPU SIFT by using python, and I need the same conversion. What technology is used for generating python opencv wrapper? |
2014-10-01 08:17:01 -0600 | received badge | ● Scholar (source) |
2014-09-30 08:54:42 -0600 | asked a question | pyopencv_from and pyopencv_to for KeyPoint class Since Bag of Words is not wrapped in Python, I need to do the work in Cpp function and pass the results through libboost interface. Still, I cannot figure out how a KeyPoint class is transformed to a PyObject* and viceversa. Is there any pyopencv_from and pyopencv_to method for that? Thanks. |
2013-05-16 06:06:16 -0600 | received badge | ● Student (source) |
2013-05-16 03:01:21 -0600 | asked a question | parallel_for in Python bindings Is there any way to exploit parallel_for binding by means of python bindings? |