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

Uploaded Source

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