https://github.com/radames/opencv_video_to_pygame
SImple example OpenCV VideoCapture running on PyGame
https://github.com/radames/opencv_video_to_pygame
opencv pygame
Last synced: 2 months ago
JSON representation
SImple example OpenCV VideoCapture running on PyGame
- Host: GitHub
- URL: https://github.com/radames/opencv_video_to_pygame
- Owner: radames
- Created: 2020-08-26T07:28:34.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2020-08-26T07:33:08.000Z (almost 6 years ago)
- Last Synced: 2025-06-21T02:57:35.811Z (about 1 year ago)
- Topics: opencv, pygame
- Language: Python
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python OpenCV Video with Pygame
Because my [code gist](https://gist.github.com/radames/1e7c794842755683162b) has a lot of comments and questions.
Here is one repository with env for reference.
Create a virtual env, activate and install requirements
~~~bash
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
~~~
### Pygame on OSX
Using brew to install Pygame dependecies
~~~bash
brew install sdl2 sdl2_gfx sdl2_image sdl2_mixer sdl2_net sdl2_ttf
~~~
[ref](https://stackoverflow.com/questions/52718921/problems-getting-pygame-to-show-anything-but-a-blank-screen-on-macos-mojave)