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

View File

@@ -146,7 +146,7 @@ int main(int argc, char** argv)
}
CV_Assert(!model.empty());
//! [Read and initialize network]
EngineType engine = ENGINE_NEW;
EngineType engine = ENGINE_OPENCV;
Net net = readNetFromONNX(model, engine);
net.setPreferableBackend(getBackendID(backend));
net.setPreferableTarget(getTargetID(target));