14 hours ago, ahoeben said:Cura 附带的 Python 环境不包括 OpenCV。即使系统上安装了OpenCV,“Cura Python”环境也无法访问它。如果您需要在插件中使用 OpenCV,您必须找到以某种方式将 OpenCV 与您的插件一起提供的方法。
Is there any other way to add opencv to the internal environment?
14 hours ago, ahoeben said:Cura 附带的 Python 环境不包括 OpenCV。即使系统上安装了OpenCV,“Cura Python”环境也无法访问它。如果您需要在插件中使用 OpenCV,您必须找到以某种方式将 OpenCV 与您的插件一起提供的方法。
Is there any other way to add opencv to the internal environment?
11 minutes ago, ZZQiang said:Is there any other way to add opencv to the internal environment?
Depending on how complex it is, you could try copy+pasting the functions from the library into the file you're editing, but there's no way to add a library to Cura's runtime environment.
Recommended Posts
ahoeben 1,986
The Python environment that ships with Cura does not include OpenCV. Even if OpenCV is installed on the system, the "Cura Python" environment cannot access it. If you need to use OpenCV in a plugin, you would have to figure out s way to somehow ship OpenCV with your plugin.
Link to post
Share on other sites