基于OpenCV构建的图像处理和3D视觉库。
示例代码:
ImageSequenceReaderFactory factory; ImageSequenceReader* reader = factory.pathRegex("c:/a/im_%03d.jpg", 0, 20); //ImageSequenceReader* reader = factory.avi("a.avi"); if (reader == NULL) { cout<<factory.getErrorMessage()<<endl; exit(1); } IplImage* frame = NULL; while ((frame = reader->read()) != NULL) { process(frame); } delete reader;