Skip to content

Commit 4ebe172

Browse files
committed
Updated the README
1 parent 9a822a1 commit 4ebe172

File tree

2 files changed

+40
-10
lines changed

2 files changed

+40
-10
lines changed

README.rst

+23-9
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,46 @@ OpenCV for Esp32
66
This is a clone of OpenCV (from commit 8808aaccffaec43d5d276af493ff408d81d4593c), modified to be cross-compiled on the ESP32. This Readme explains how to cross-compile on the ESP32 and also some details on the steps done.
77

88

9+
Demo
10+
====
911

10-
Hardware
11-
========
12-
13-
The tests were done on the ESP32D0WDQ6 (revision 1):
12+
A demo has been made using the **TTGO Camera Plus** module (https://github.com/Xinyuan-LilyGO/esp32-camera-screen). The board embedds an ESP32-DOWDQ6 with:
1413

1514
- Xtensa dual core 32-bit LX6 uP, up to 600 MIPS
1615
- 448 KB of ROM for booting and core functions
1716
- 520 KB of SRAM for data and instructions cache
1817
- 16 KB SRAM in RTC
1918
- 8 MB of external SPI RAM
20-
- 16 MB of external SPI Flash
21-
19+
- 4 MB of external SPI Flash
2220

23-
Demo
24-
====
2521

26-
A demo has been made using the **TTGO Camera Plus** module (https://github.com/Xinyuan-LilyGO/esp32-camera-screen). It gets an image from the camera, applies a simple transformation on it (Grayscale, Threshold or Canny edge detection), and then displays it on the LCD.
22+
The demo consists in getting an image from the camera, applying a simple transformation on it (Grayscale, Threshold or Canny edge detection), and then displaying it on the LCD.
2723

2824
.. image:: esp32/examples/ttgo_demo/demo/ttgo_demo.gif
2925

26+
The size taken by the application is the following:
27+
28+
.. code:: shell
29+
30+
31+
Total sizes:
32+
DRAM .data size: 33536 bytes
33+
DRAM .bss size: 74424 bytes
34+
Used static DRAM: 107960 bytes ( 72776 available, 59.7% used)
35+
Used static IRAM: 79695 bytes ( 51377 available, 60.8% used)
36+
Flash code: 1 096 883 bytes
37+
Flash rodata: 356 144 bytes
38+
Total image size:~1 640 682 bytes (.bin may be padded larger)
39+
40+
41+
3042
The demo code is located in `esp32/examples/ttgo_demo/`_.
3143

3244
.. _`esp32/examples/ttgo_demo/`: esp32/examples/ttgo_demo/
3345

3446

47+
48+
3549
Benchmark
3650
=========
3751

esp32/examples/ttgo_demo/README.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,20 @@ The performances of the processing are approximately:
1313
* 6 fps with RGB565 image
1414
* 6 fps with Grayscale image
1515
* 6 fps with Threshold transformation
16-
* 3 fps with Canny detection
16+
* 3 fps with Canny detection
17+
18+
19+
20+
The size taken by the application is the following:
21+
22+
```bash
23+
Total sizes:
24+
DRAM .data size: 33536 bytes
25+
DRAM .bss size: 74424 bytes
26+
Used static DRAM: 107960 bytes ( 72776 available, 59.7% used)
27+
Used static IRAM: 79695 bytes ( 51377 available, 60.8% used)
28+
Flash code: 1 096 883 bytes
29+
Flash rodata: 356 144 bytes
30+
Total image size:~1 640 682 bytes (.bin may be padded larger)
31+
```
32+

0 commit comments

Comments
 (0)