MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / CVObjectDetection

Method CVObjectDetection

src/CVObjectDetection.cpp:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26using google::protobuf::util::TimeUtil;
27
28CVObjectDetection::CVObjectDetection(std::string processInfoJson, ProcessingController &processingController)
29: processingController(&processingController), processingDevice("CPU"){
30 SetJson(processInfoJson);
31 confThreshold = 0.5;
32 nmsThreshold = 0.1;
33}
34
35void CVObjectDetection::setProcessingDevice(){
36 if(processingDevice == "GPU"){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected