★これはESP32-CAMから画像をストリーミングし、PCでopenCVでQRコードを読む方式.
ESP32でQRコードを読んでいるわけではない。なので、PCが不可欠である。
出典
https://how2electronics.com/qr-code-scanner-with-esp32-cam-module-opencv/
■内容目次
■所要部品
S.N. | COMPONENTS | QUANTITY | |
---|---|---|---|
1 | ESP32-CAM Board AI-Thinker | 1 | |
2 | FTDI Module | 1 | |
3 | Micro-USB Cable | 1 | |
4 | Jumper Wires | 10 |
■ESP32-CAM
ESP32-CAM | FTDI Programmer |
GND | GND |
5V | VCC |
U0R | TX |
U0T | RX |
GPIO0 | GND |
■ESP32CAM Library
Here we will not use the general ESP webserver example rather another streaming process.
The esp32cam library provides an object oriented API to use OV2640 camera on ESP32 microcontroller. It is a wrapper of esp32-camera library.