1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-20 12:55:15 +08:00

Merge pull request #2532 from AjitPant:mcc

* First commit

* Updated mcc

* Fixed build warnings.

* Fixed warnings v2

* Added support for providing regions to look for the chart

* Added the neural network based detector

* Added Documentation and tests

* Fixed Warnings

* Fixed test failure

* Fixed warnings v2

* Fix Warning attemp 3

* Replaced size_t by int to fix warning

* fixed one more

* Fixed a size_t

* Fixed some bugs

* Modified the private interface a bit

* Just adding doc of what -t and -ci numbers are

* significantly improved performance of the macbeth chart detector (by two orders of magnitude, perhaps)

* Fixed the suggested changes.

* Removed imcodes from precomp

* Fixed warnings and namespace issue

* Replaced occurance of Matx33f by InputArray

Co-authored-by: Gary Bradski <garybradskigit@gmail.com>
Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@gmail.com>
This commit is contained in:
Ajit Pant
2020-08-03 14:02:46 +05:30
committed by GitHub
parent c63778cc52
commit 2554f41c47
33 changed files with 5828 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
#include "opencv2/mcc.hpp"
template <>
struct pyopencvVecConverter<Ptr<mcc::CChecker>>
{
static bool to(PyObject *obj, std::vector<Ptr<mcc::CChecker>> &value,
const ArgInfo &info)
{
return pyopencv_to_generic_vec(obj, value, info);
}
static PyObject *from(const std::vector<Ptr<mcc::CChecker>> &value)
{
return pyopencv_from_generic_vec(value);
}
};
typedef std::vector<cv::Ptr<mcc::CChecker>> vector_Ptr_CChecker;
typedef dnn::Net dnn_Net;