mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
replaced ENGINE_NEW with ENGINE_OPENCV
This commit is contained in:
@@ -234,7 +234,7 @@ int main(int argc, char** argv)
|
||||
|
||||
ALIKED::Params detParams;
|
||||
detParams.inputSize = Size(640, 640);
|
||||
detParams.engine = dnn::ENGINE_NEW;
|
||||
detParams.engine = dnn::ENGINE_OPENCV;
|
||||
detParams.backend = backendId;
|
||||
detParams.target = targetId;
|
||||
auto detector = ALIKED::create(alikedPath, detParams);
|
||||
|
||||
@@ -112,7 +112,7 @@ def main():
|
||||
|
||||
det_params = cv.ALIKED.Params()
|
||||
det_params.inputSize = (640, 640)
|
||||
det_params.engine = cv.dnn.ENGINE_NEW
|
||||
det_params.engine = cv.dnn.ENGINE_OPENCV
|
||||
detector = cv.ALIKED.create(args.aliked, det_params)
|
||||
|
||||
matcher = cv.LightGlueMatcher.create(
|
||||
|
||||
Reference in New Issue
Block a user