gpt4 book ai didi

python - 在 Raspberry Pi 上使用 Python cv2 渲染图像

转载 作者:行者123 更新时间:2023-12-02 16:56:27 25 4
gpt4 key购买 nike

我正在使用 Raspberry Pi 2 使用 opencv 加载大分辨率图像。我正在运行草图,但没有明显的“OpenGL”支持,因为 opencv 库声明它不受支持:

OpenCV Error: no OpenGL support (Library was built without openGL support)

我试图安装 pyOpenGL,但这没有效果。我对图形编程很陌生,所以我会就如何渲染到 Raspberry Pi 的 GPU 提出任何建议。

最佳答案

我偶然发现了一个 Python 友好的模块,其中包含一个 GLSL API 和很多示例:

http://pi3d.github.io/html/

关于python - 在 Raspberry Pi 上使用 Python cv2 渲染图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28664723/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com