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