#22 Begin python rework
This commit is contained in:
30
README.md
30
README.md
@@ -1,4 +1,4 @@
|
||||
# PiCamera
|
||||
# JamesCam
|
||||
Camera for Raspberry Pi
|
||||
|
||||
## How to run
|
||||
@@ -11,3 +11,31 @@ Or:
|
||||
```
|
||||
python3 src/main.py
|
||||
```
|
||||
|
||||
## Configuration
|
||||
Check `config.json` for an example configuration.
|
||||
|
||||
### `camera_type`
|
||||
Specifies the camera type (`picam` interface implementation) to use.
|
||||
```
|
||||
1: legacy picamera implementation
|
||||
```
|
||||
|
||||
### `capture_resolution`
|
||||
Specifies the resolution of the photos to take
|
||||
|
||||
### `preview_resolution`
|
||||
Specifies the resolution of the viewfinder. I've set this to the resolution of the hyperpixel4 display
|
||||
|
||||
### `output_format`
|
||||
Specifies the output format of the image. Check supported formats using `python3 -m PIL`
|
||||
|
||||
### `output_extension`
|
||||
Specifies the file extension of the image. Should probably match the `output_format` option.
|
||||
|
||||
### `output_directory`
|
||||
Specifies the directory to put taken images in to.
|
||||
|
||||
### `output_filename_format`
|
||||
Specifies the format of the output filename.
|
||||
> See [Python docs](https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes) for reference.
|
||||
|
||||
Reference in New Issue
Block a user