Unsupported format or combination of formats
bbaronSVK opened this issue · comments
i downloaded latest model for facedetection from opencv_zoo and when i try to loat it i get error:
OpenCV(4.7.0) /root/opencv/modules/dnn/src/onnx/onnx_importer.cpp:275: error: (-210:Unsupported format or combination of formats) Failed to parse ONNX model: /opt/opencv_zoo-master/models/face_detection_yunet/face_detection_yunet_2022mar.onnx in function 'ONNXImporter'
but when i load onnx model from php-opencv
then everything works correctly.
opencv: git@master
opencv_contrib: git@master
php-opencv: git@master
opencv: git@master
opencv_contrib: git@master
no good idea to use master. try to use opencv sources for 4.7.0
fore example: https://github.com/php-opencv/php-opencv-examples/blob/master/docker/ubuntu_opencv-4.7.0/Dockerfile