Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opencv error #9

Open
navinfreeze opened this issue Jul 10, 2023 · 1 comment
Open

opencv error #9

navinfreeze opened this issue Jul 10, 2023 · 1 comment

Comments

@navinfreeze
Copy link

I am stuck with the error below while using the test data given in this repo

C:\Users\prabh>easyFlyTracker C:\Users\prabh\OneDrive\Desktop\tests\config.yaml
config params load from: C:\Users\prabh\OneDrive\Desktop\tests\output4/config.pkl
Please set the two points (A and B).
saved config params to: C:\Users\prabh\OneDrive\Desktop\tests\output4/config.pkl
Collect frames...Done
Calculate the background image...Done
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\prabh\AppData\Local\Programs\Python\Python311\Scripts\easyFlyTracker.exe_main
.py", line 7, in
File "C:\Users\prabh\AppData\Local\Programs\Python\Python311\Lib\site-packages\easyFlyTracker\cli.py", line 50, in easyFlyTracker

f = FlySeg(**params_filter)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\prabh\AppData\Local\Programs\Python\Python311\Lib\site-packages\easyFlyTracker\src_code\fly_seg.py", line 123, in init
self.comp_bg()
File "C:\Users\prabh\AppData\Local\Programs\Python\Python311\Lib\site-packages\easyFlyTracker\src_code\fly_seg.py", line 277, in comp_bg
bg = cv2.medianBlur(bg, 3)
^^^^^^^^^^^^^^^^^^^^^
cv2.error: OpenCV(4.8.0) D:/a/opencv-python/opencv-python/opencv/modules/imgproc/src/median_blur.simd.hpp:870: error: (-210:Unsupported format or combination of formats) in function 'cv::opt_AVX2::medianBlur'

Can you please tell me where I might be going wrong?

@azzhu
Copy link
Owner

azzhu commented Jul 18, 2023

Hi, I have updated easyFlyTracker and fixed this problem, please upgrade easyFlyTracker to the latest version(0.14.1).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants