Very simple recording tool using only OpenCV. Automatically record the camera capture to mp4, press C key or left mouse button click captures the image.
Project description
simple_camera_capture
Very simple recording tool using only OpenCV. Automatically record the camera capture to mp4, press C
key or left mouse button click to take a still image.
Environment
- opencv-python==4.1.2.30
Usage
1. Start of Recording
$ simpcamcap
usage: simpcamcap
[-h]
[-cn CAMERA_NO]
[-cw CAMERA_CAP_WIDTH]
[-ch CAMERA_CAP_HEIGHT]
[-mi MOVIE_OR_IMAGE_PATH]
[-dvr]
[-dcr]
[-V]
optional arguments:
-h, --help
show this help message and exit.
-cn CAMERA_NO, --camera_no CAMERA_NO
-cw CAMERA_CAP_WIDTH, --camera_cap_width CAMERA_CAP_WIDTH
-ch CAMERA_CAP_HEIGHT, --camera_cap_height CAMERA_CAP_HEIGHT
-mi MOVIE_OR_IMAGE_PATH, --movie_or_image_path MOVIE_OR_IMAGE_PATH
-dvr, --disable_video_recording
-dcr, --display_camera_resolutions
Displays a list of resolutions supported by the camera.
Cannot be used in conjunction with other options other than -cn.
Linux only option.
sudo apt update && sudo apt install v4l-utils
-V, --version
Show version and exit.
2. Saving a still image
Press C
key on the keyboard or left mouse button click.
3. End of Recording
Press the Q
key or ESC
key on the keyboard or right mouse button click.
4. Sample
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simpcamcap-0.0.1.tar.gz
(4.5 kB
view details)
Built Distribution
File details
Details for the file simpcamcap-0.0.1.tar.gz
.
File metadata
- Download URL: simpcamcap-0.0.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 876dc2e83a799cf9c4c30cb27e58c511f87d5221aabcd15a3b9cea59505f46b5 |
|
MD5 | 4e978fdaf5a06bca3746e6dbabe2da2e |
|
BLAKE2b-256 | 2ace4d781ce8d5fb4fc035d35601d241cbfa09df1d2028d9b5ab7fb0d8d001f5 |
File details
Details for the file simpcamcap-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: simpcamcap-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 907550dd77a0846842d6d5cd6a6199ffb5f61545e51b6704037235397e2848d1 |
|
MD5 | 86762da32251114d30f70da8179474a2 |
|
BLAKE2b-256 | e4724cc3a6b0a968902924993fbe1579f164f3abbe232435016477dc40be38e1 |