azzhu / EasyFlyTracker

MIT License
11 stars 8 forks source link

Segmentation Fault #5

Closed mmit2928 closed 1 year ago

mmit2928 commented 1 year ago

Hello. I am inexperienced with computer programming and python. I downloaded this program and am using in terminal macOS 12. I was successfully able to analyze the demo video last week but now I am getting a segmentation fault error message. Can you tell me why this is happening and how to fix it?

The error message is: saved config params to: /Users/mckenzie/Downloads/easyFlyTrackerConf/output/config.pkl tracking... zsh: segmentation fault easyFlyTracker /Users/mckenzie/Downloads/easyFlyTrackerConf/config.yaml

I have attached images of the apple error message, my output folder, and the yaml file below. [apple error.txt](https://github.com/azzhu/EasyFlyTracker/files <img width="1440" alt="yaml" src="https://user-images.git

pic of file location

hubusercontent.com/120639093/207823232-b7a151ac-194c-405f-8ab6-07912348194a.png"> /10235656/apple.error.txt)

segmentation fault
azzhu commented 1 year ago

Hi, this is a bug of opencv😂, and opencv is a mudule that used in easyflytracker🤣. Bug link: https://github.com/opencv/opencv/issues?q=Segmentation+Fault image

So, I suggest:

  1. Upgrade opencv to the latest version; python -m pip install --upgrade opencv-python
  2. Try the video again in other formats;
  3. Or, share your video to me, I try it in my computer.

Thanks! Good luck! 😊

mmit2928 commented 1 year ago

I updated opencv and it is working now. Thank you!