https://github.com/shuai-xie/cv_utils
useful code for cv-related python programs
https://github.com/shuai-xie/cv_utils
computer-vision python
Last synced: 2 months ago
JSON representation
useful code for cv-related python programs
- Host: GitHub
- URL: https://github.com/shuai-xie/cv_utils
- Owner: Shuai-Xie
- Created: 2019-11-09T04:25:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-13T00:45:38.000Z (over 5 years ago)
- Last Synced: 2025-01-11T04:44:08.480Z (over 1 year ago)
- Topics: computer-vision, python
- Language: Jupyter Notebook
- Homepage:
- Size: 4.29 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CV_utils
collect some useful **cv-related python programs**.
import
- opencv-python
- opencv-contrib-python
- pillow
- numpy
- mss: 较快的录屏方式, win/linux/mac 都支持
- pyscreenshot: PIL.ImageGrab replacement for linux 比较慢
---
### capture_screen
compare **FPS** of 3 ways to capture screen
- mss > PIL.ImageGrab > pyscreenshot
```
# 窗口 left-top, right-bottom 坐标
(0, 0, 1920, 1080), # 4.6 > 2.4 > 0.7
(0, 0, 1440, 900), # 6.0 > 2.2 > 0.6
(0, 0, 800, 600), # 18.7 > 2.4 > 1.4
(0, 0, 640, 360), # 40.5 > 2.3 > 2.3
```
### detect
- [selective search](https://www.learnopencv.com/selective-search-for-object-detection-cpp-python/)