|
OpenShot Library | libopenshot
0.7.0
|
Preprocess a clip into EfficientSAM/Cutie object masks stored in the object-detection protobuf format. More...
#include <CVObjectMask.h>
Public Member Functions | |
| CVObjectMask (std::string processInfoJson, ProcessingController &processingController) | |
| void | maskClip (openshot::Clip &video, size_t start=0, size_t end=0, bool process_interval=false) |
| std::shared_ptr< Frame > | PreviewSeedMask (std::shared_ptr< Frame > frame) |
| bool | SaveObjMaskData () |
| void | SetJson (const std::string value) |
| void | SetJsonValue (const Json::Value root) |
Static Public Member Functions | |
| static std::string | ValidateONNXModel (std::string modelPath) |
Public Attributes | |
| std::map< size_t, CVObjectMaskFrameData > | masksData |
Preprocess a clip into EfficientSAM/Cutie object masks stored in the object-detection protobuf format.
Definition at line 57 of file CVObjectMask.h.
| CVObjectMask::CVObjectMask | ( | std::string | processInfoJson, |
| ProcessingController & | processingController | ||
| ) |
Definition at line 816 of file CVObjectMask.cpp.
| void CVObjectMask::maskClip | ( | openshot::Clip & | video, |
| size_t | start = 0, |
||
| size_t | end = 0, |
||
| bool | process_interval = false |
||
| ) |
Definition at line 901 of file CVObjectMask.cpp.
Definition at line 827 of file CVObjectMask.cpp.
Referenced by openshot::ClipProcessingJobs::PreviewObjectMask().
| bool CVObjectMask::SaveObjMaskData | ( | ) |
Definition at line 1096 of file CVObjectMask.cpp.
| void CVObjectMask::SetJson | ( | const std::string | value | ) |
Definition at line 1144 of file CVObjectMask.cpp.
Referenced by CVObjectMask().
| void CVObjectMask::SetJsonValue | ( | const Json::Value | root | ) |
Definition at line 1153 of file CVObjectMask.cpp.
Referenced by SetJson().
|
static |
Definition at line 822 of file CVObjectMask.cpp.
| std::map<size_t, CVObjectMaskFrameData> openshot::CVObjectMask::masksData |
Definition at line 87 of file CVObjectMask.h.
Referenced by maskClip(), and SaveObjMaskData().
1.8.17