I am using OpenCV 3.3.0 with C++ on Ubuntu 14.04. While trying to use GOTURN tracker, I am getting an error "Can't open 'goturn.prototxt' file in ReadProtoFromTextFile". Please note that I have done following steps:
- Clone opencv, opencv_contrib repository
- Build the library as mentioned on the official page
- Follow the steps mentioned here
Additionally, I have also tried to build the library after cloning opencv_extra repository and setting OPENCV_TEST_DATA_PATH to opencv_extra/testdata but still, it fails (I couldn't find the caffemodel in latest branch). I cloned this repository and linked it using OPENCV_TEST_DATA_PATH and I am still getting the same error.
Also, note that I have ensured the user has all required permissions.
Please let me know if I am missing any steps while building or installing the library? If someone who has experienced this kind of error can provide steps or link the tutorial, I will really appreciate it!