Skip to main content

Capture

Function: Capture photos Number of Arguments: 3

import ecapture as ec
ec.capture(0,"frame", "frame.png")

Arguments:

Camera Index

Input the index of the webcam that you choose to use. Index 0 will be first webcam, Index 1 will be the second webcam, and so on and so forth.

Window Name

Input False if a window with the captured image should not be displayed. A window name input as a string will show a window with the captured image

Save Name

Input False if the captured image should not be saved. A save name input as a string will save the captured image with the desired name.

Video Capture

Function: Record videos Number of Arguments: 4

import ecapture as ec
ec.vidCapture(0,"frame", "frame.avi", "x")

Arguments:

Camera Index

Input the index of the webcam that you choose to use. Index 0 will be first webcam, Index 1 will be the second webcam, and so on and so forth.

Window Name

Input False if a window with the captured image should not be displayed. A window name input as a string will show a window with the current frame.

Save Name

Input False if the captured image should not be saved. A save name input as a string will save the recorded video with the desired name.

Exit Key

The key that has to be pressed to end the recording.

Timed Video Capture

Function: Record videos for a specified duration Number of Arguments: 4

import ecapture as ec
ec.vidCapture(0,"frame", "frame.avi", 5)

Arguments:

Camera Index

Input the index of the webcam that you choose to use. Index 0 will be first webcam, Index 1 will be the second webcam, and so on and so forth.

Window Name

Input False if a window with the captured image should not be displayed. A window name input as a string will show a window with the current frame.

Save Name

Input False if the captured image should not be saved. A save name input as a string will save the recorded video with the desired name.

Timer

The time after which the video recording terminates.

Metadata

Release files for ecapture 2.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ecapture 2.0.2
File Size Uploaded
ecapture-2.0.2.tar.gz 15.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ecapture 2.0.2
File Interpreter ABI Platform
ecapture-2.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 32.8 kB

Release files / ecapture-2.0.2.tar.gz

Download URL ecapture-2.0.2.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0c76cf0b543d0276c7230d647d90006b77041483de4c8e6c6d175a944bb81003
BLAKE2b-256 checksum
How to use checksums
13128eaf0f5fcb0989a2908a88ae1be70225e25cf18a63a8d6d3196a3b38f4eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / ecapture-2.0.2-py3-none-any.whl

Download URL ecapture-2.0.2-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3de1b2b719352f19e786a37a0af4f7fe64900101f06e8ce37888304b223bcf0e
BLAKE2b-256 checksum
How to use checksums
e23273ed03d875e54d10cae12194cef902ea6a6d1869b00e820f16335fcab853
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release history Release notifications | RSS feed

This release

2.0.2 This release

2 release files

2.0.1

2 release files

2.0.0

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page