Record by Webcam and save automatically while there is different in screen
Project description
Calculate differential power of each frame in webcam stream and record while it is bigger than the presetting threshold.
import pyCamRecord
#filename format: "%Y%m%d%H%M%S.mp4" ex:20210630115959.mp4
#==>2021 06/30 11:59:59
pyCamRecord.record(maxDuration=0.1)
#==>Auto record to file every 0.1 minute
import pyCamRecord
#Record while the differential power is bigger than threshold (TH = 15000)
pyCamRecord.recordMove(showPower=True)
# print differential power frame by frame
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyCamRecord-1.1.tar.gz
(3.7 kB
view details)
File details
Details for the file pyCamRecord-1.1.tar.gz
.
File metadata
- Download URL: pyCamRecord-1.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c6d3bf09c49734c111f1b997760272e6e21adaefa16f45ffe5fd8031e12e227 |
|
MD5 | 2f48f5a1065dabdf67cd12e60f151b9d |
|
BLAKE2b-256 | 1a57ffe2924999da48ead526e18299eeba327343cba93dd4953a89798305692c |