Download libvideo_compensator/include/seq_compensator.h from niobures/VideoCompensator: direct link, hf CLI and curl.
- Browser
- Download file 595 Bytes
-
https://huggingface.co/niobures/VideoCompensator/resolve/main/libvideo_compensator/include/seq_compensator.h
- Command line
-
hf download hf://niobures/VideoCompensator/libvideo_compensator/include/seq_compensator.h
-
curl -L -o seq_compensator.h https://huggingface.co/niobures/VideoCompensator/resolve/main/libvideo_compensator/include/seq_compensator.h
595 Bytes
| namespace Ivs | |
| { | |
| struct TInputImageMeta | |
| { | |
| cv::Mat matImage; | |
| std::vector<cv::Rect> vecObjRegions; | |
| }; | |
| class ISequenceCompensator | |
| { | |
| public: | |
| virtual ~ISequenceCompensator() = default; | |
| virtual void SetInputMeta(const TInputImageMeta& tInput) = 0; | |
| virtual void Process() = 0; | |
| virtual bool IsBackgroundRecover() = 0; | |
| virtual cv::Mat GetBackgroundImage() = 0; | |
| }; | |
| typedef std::unique_ptr<ISequenceCompensator> PtrSequenceCompensator; | |
| PtrSequenceCompensator CreateSequenceCompensator(); | |
| } | |