#22 Fix distortion bug

This commit is contained in:
James Hodgson
2022-10-07 17:18:53 +01:00
parent bdb5c39d0c
commit 264753259a
4 changed files with 34 additions and 4 deletions

View File

@@ -22,7 +22,10 @@ Specifies the camera type (`picam` interface implementation) to use.
```
### `capture_resolution`
Specifies the resolution of the photos to take
Specifies the resolution of the photos to take.
For picam1 implementation (and maybe more!), the X value will be rounded up to a multiple of 32, and the Y value to a multiple of 16, otherwise we'll get bugs due to the behaviour described in the [docs](https://picamera.readthedocs.io/en/release-1.13/recipes2.html#unencoded-image-capture-yuv-format)
### `preview_resolution`
Specifies the resolution of the viewfinder. I've set this to the resolution of the hyperpixel4 display