File size: 1,679 Bytes
7fc5a59 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | #ifndef OPENPOSE_PRODUCER_ENUM_CLASSES_HPP
#define OPENPOSE_PRODUCER_ENUM_CLASSES_HPP
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,
};
}
#endif // OPENPOSE_PRODUCER_ENUM_CLASSES_HPP
|