1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

moved to engine_opencv

This commit is contained in:
Abhishek Gola
2026-07-21 14:47:20 +05:30
parent c2e0e4edb9
commit 57bcf14e78
41 changed files with 119 additions and 130 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ int main(int argc, char *argv[])
Ptr<CCheckerDetector> detector;
#ifdef HAVE_OPENCV_DNN
if (model_path != "" && pbtxt_path != ""){
EngineType engine = ENGINE_NEW;
EngineType engine = ENGINE_OPENCV;
Net net = readNetFromTensorflow(model_path, pbtxt_path, engine);
net.setPreferableBackend(getBackendID(backend));
net.setPreferableTarget(getTargetID(target));