Metadata-Version: 2.1
Name: ecapture
Version: 2.0.2
Summary: Webcams made easy
Home-page: https://github.com/YFOMNN/ecapture
Author: Mohammmed Yaseen
Author-email: hmyaseen05@gmail.com
License: GNU GPLv3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
License-File: License.txt

# Capture
Function: Capture photos
Number of Arguments: 3

~~~python
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

~~~python
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

~~~python
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.
