Ask Your Question

Revision history [back]

cv::Algorithm is singleton?

I am developing my own set of detectors based on cv::Algorithm. If I understand cv::Algorithm correctly, it is a singleton class, which has to be initalized once using the cv::Algorithm::info() function. Does this mean that is not possible to create two detectors of the same class but with different Parameters? If there are ten dectectors, all detectors are created, which is not memory efficient. Is it possible to create a non-singleton algortihm? Are there any examples?