Issue with Idtracker –module 'cv2' has no attribute 'IMREAD_COLOR_BGR'

18 views
Skip to first unread message

Fangni Du

unread,
Jul 10, 2025, 4:51:04 AMJul 10
to idtracker.ai users group
Hi,

When it analyzes the video and starts the tracking session, it consistently throws the error:

'module 'cv2' has no attribute 'IMREAD_COLOR_BGR'

And I try to analyzes the video which I download from your idtracker website. It works very well. But when I analyzes my video, it has a issue,

Below is the detailed error message for your reference


1752136926925.png

1752137054625.png

1752137092173.png
Could you kindly advise on how to resolve this?

Thanks for your time,
Fangni

idtracker.ai

unread,
Jul 10, 2025, 6:03:23 AMJul 10
to dufan...@gmail.com, idtracker.ai users group
Hi!

Thanks for reaching out! Try updating your opencv installation with:

    pip install -U opencv-python-headless

Send me the full log file if that doesn't work.
Jordi

--
You received this message because you are subscribed to the Google Groups "idtracker.ai users group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idtrackerai_us...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/idtrackerai_users/e0b53afc-a801-4f7d-9f7e-eec0ff9e6577n%40googlegroups.com.

Fangni Du

unread,
Jul 11, 2025, 7:14:49 PMJul 11
to idtracker.ai users group

Hi,

Just wanted to let you know that the issue has been resolved. Thank you again for your help!

Best regards,
Fangni


Reply all
Reply to author
Forward
0 new messages