tobiipro / g3pylib

A Python client library for Glasses3
Other
15 stars 7 forks source link

Examples that use opencv freeze #83

Closed edavalosanaya closed 1 year ago

edavalosanaya commented 1 year ago

When I ran the examples, any function call to opencv would freeze the program. It is likely due to pyav and opencv incompatibility. Here is more discussion about this. I would recommend disclosing this dependency issue in the documentation.

edavalosanaya commented 1 year ago

The suggested answer worked, as found on this forum. The recommended action is to install pyav with the following command:

pip install av --no-binary av

This is assuming that you already have FFmpeg (likely from OpenCV).