Metadata-Version: 2.4
Name: noahs_camera_controller
Version: 0.1.0
Summary: A simple tool for Mac, Windows and Linux for basic photo and video capture
Author-email: Noah Jones <jonesnoah45010@gmail.com>
License: MIT
Project-URL: GitHub, https://github.com/jonesnoah45010/camera_controller
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Environment :: Console
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: opencv-python

## Usage: `noahs_camera_controller`

This library provides a simple way to do basic photo a video capture.  On most devices, opencv will be used, however, on arm based linux devices like raspberry pi, libcamera-still and libcamera-vid will be used.  Make sure your command line has permission to access your camera before use.

### Getting Started

First, install the library:

```bash
pip install noahs_camera_controller
```

Then run the sample code below.

```python
from noahs_camera_controller import list_available_cameras, capture_photo, capture_video

capture_photo(name="my_photo",rotation=None, hflip=False, vflip=False, device_index=0)
capture_video(name="my_video", duration=5, rotation=None, hflip=False, vflip=False, device_index=0)

```



### Check out Source Code

`https://github.com/jonesnoah45010/camera_controller`




