| namespace op | |
| { | |
| enum class ProducerFpsMode : bool | |
| { | |
| /** The frames will be extracted at the original source fps (frames might be skipped or repeated). */ | |
| OriginalFps, | |
| /** The frames will be extracted when the software retrieves them (frames will not be skipped or repeated). */ | |
| RetrievalFps, | |
| }; | |
| enum class ProducerProperty : unsigned char | |
| { | |
| AutoRepeat = 0, | |
| Flip, | |
| Rotation, | |
| FrameStep, | |
| NumberViews, | |
| Size, | |
| }; | |
| /** | |
| * Type of producers | |
| * An enum class in which all the possible type of Producer are included. In order to add a new Producer, | |
| * include its name in this enum and add a new 'else if' statement inside ProducerFactory::createProducer(). | |
| */ | |
| enum class ProducerType : unsigned char | |
| { | |
| /** Stereo FLIR (Point-Grey) camera reader. Based on Spinnaker SDK. */ | |
| FlirCamera, | |
| /** An image directory reader. It is able to read images on a folder with a interface similar to the OpenCV | |
| * cv::VideoCapture. | |
| */ | |
| ImageDirectory, | |
| /** An IP camera frames extractor, extending the functionality of cv::VideoCapture. */ | |
| IPCamera, | |
| /** A video frames extractor, extending the functionality of cv::VideoCapture. */ | |
| Video, | |
| /** A webcam frames extractor, extending the functionality of cv::VideoCapture. */ | |
| Webcam, | |
| /** No type defined. Default state when no specific Producer has been picked yet. */ | |
| None, | |
| }; | |
| } | |