You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Setting up the build environment (DIY method)](#setting-up-the-build-environment-diy-method)
23
+
-[Add camera configurations to your board (optional, but recommended)](#add-camera-configurations-to-your-board-optional-but-recommended)
24
+
-[Supported camera models](#supported-camera-models)
25
+
-[For unsupported camera models](#for-unsupported-camera-models)
26
+
-[Customize additional camera settings](#customize-additional-camera-settings)
27
+
-[Build the API](#build-the-api)
14
28
-[Notes](#notes)
15
29
-[Benchmark](#benchmark)
30
+
-[Troubleshooting](#troubleshooting)
16
31
-[Donate](#donate)
17
32
18
-
## Precomiled FW (the easy way) <aname="Precompiled">
33
+
## Precomiled FW (the easy way)
19
34
20
35
If you are not familiar with building custom firmware, visit the [releases](https://github.com/cnadler86/micropython-camera-API/releases) page to download firmware that suits your board. **There are over 20 precompiled board images with the latest micropython!**
21
36
22
-
## Using the API <aname="Usage">
37
+
## Using the API
23
38
24
-
### Importing the Camera Module
39
+
### Importing the camera module
25
40
26
41
```python
27
42
from camera import Camera, GrabMode, PixelFormat, FrameSize, GainCeiling
28
43
```
29
44
30
-
### Creating a Camera Object
45
+
### Creating a camera object
31
46
32
47
Camera construction using defaults. This is the case if you are using a **non-generic** precompiled firmware or if you specified the camera model or pins in mpconfigboard.h during your build. Then you can just call the construction without any keyword arguments.
33
48
@@ -99,7 +114,7 @@ The following keyword arguments have default values:
99
114
- LATEST for ESP32S3 boards
100
115
- WHEN_EMPTY for all other
101
116
102
-
### Initializing the Camera
117
+
### Initializing the camera
103
118
104
119
```python
105
120
cam.init()
@@ -172,7 +187,7 @@ vers = camera.Version()
172
187
173
188
The FW images support the following cameras out of the box, but is therefore big: OV7670, OV7725, OV2640, OV3660, OV5640, NT99141, GC2145, GC032A, GC0308, BF3005, BF20A6, SC030IOT
174
189
175
-
## Build your custom FW <aname="Build">
190
+
## Build your custom FW
176
191
177
192
### Setting up the build environment (DIY method)
178
193
@@ -191,7 +206,7 @@ Alternatively, you can clone the <https://github.com/espressif/esp32-camera> rep
191
206
192
207
### Add camera configurations to your board (optional, but recommended)
193
208
194
-
#### Supported Camera Models
209
+
#### Supported camera models
195
210
196
211
This project supports various boards with camera interface out of the box. You typically only need to add a single line to your board config file ("mpconfigboard.h).
197
212
Example (don't forget to add the empty line at the bottom):
0 commit comments