Occur crash when used TrackerGOTURN in Android

asked 2018-07-27 01:31:44 -0600

rainY gravatar image
 CvException [org.opencv.core.CvException: cv::Exception: OpenCV(3.4.2-dev) ../../modules/dnn/src/caffe/caffe_io.cpp:1121: error: (-2:Unspecified error) FAILED: fs.is_open(). Can't open "goturn.prototxt" in function 'bool cv::dnn::ReadProtoFromTextFile(const char*, google::protobuf::Message*)'
    at org.opencv.tracking.Tracker.init_0(Native Method)
    at org.opencv.tracking.Tracker.init(Tracker.java:28)
    at com.tvunetworks.android.anywhere.vision.OpencvTrack$TrackThread.run(OpencvTrack.java:263)
edit retag flag offensive close merge delete


  • did you download the model/prototxt and put it into your app ?
  • the code expects the files in the same folder, where you start your app
berak gravatar imageberak ( 2018-07-27 01:50:13 -0600 )edit

@berak Where is model/prototxt? I didn't see it in my o4a/install dir.

rainY gravatar imagerainY ( 2018-07-27 02:00:01 -0600 )edit

ok thanks

rainY gravatar imagerainY ( 2018-07-27 02:47:06 -0600 )edit