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

Uploaded Source

File details

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

File metadata

  • Download URL: pyCamRecord-1.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 93c9b37fd462f24e40085078949961743d99eb84ba8b9ed310c2d84c4822cb2c
MD5 034a2725ef2e77d9585acd98488eaac2
BLAKE2b-256 12ee12561dfea398aca6110c65c885219965817afce2f1cc77848e86caa26d45

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