Skip to main content

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.0.6.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file pyCamRecord-1.0.6.tar.gz.

File metadata

  • Download URL: pyCamRecord-1.0.6.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

Hashes for pyCamRecord-1.0.6.tar.gz
Algorithm Hash digest
SHA256 90946dccb24134d283e0e4f9402d11fa1d60dc8c9e375885084af11bddf97606
MD5 18ce7990a1f946fea40520e91c402230
BLAKE2b-256 a92eeace84bb6d8f02e23abb9a157a15aee49d9a5ef8c11dfd1b8ce40881f062

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page