samples::findFile not finding file
I have downloaded and compiled openCV from source. I am trying to add some files to the test environment so I can use them in my tests without using the full path.
After downloading the opencv_extra samples and exporting the OPENCV_TEST_DATA_PATH to opencv_extra/testdata. However when I try to use the findFile function or findDataFile function for my tests I get an error:
OpenCV tests: Can't find required data file: dnn_models/model.onnx in function 'findData'
I copied the data files inside opencv_extra/testdata/dnn_models/
What should I do?
You should run https://github.com/opencv/opencv_extr... and download models
I am trying to test my own model, that I have locally. Does that script do something else besides downloading the models?
i did not understand your question well.forget my comment.