Rust esp32-cam examples
After cloning the repo, download the esp32-camera component
git submodule update --init
then copy cfg.toml.example
into cfg.toml
and fill in the correct values
cargo run --example telegram_bot
Insert the correct token and owner id, then use the /photo command to take a picture
![image](https://private-user-images.githubusercontent.com/3357750/304127273-5a61974f-a0dc-4bdd-94ad-81225c53ba59.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MTMxOTYsIm5iZiI6MTcyNTUxMjg5NiwicGF0aCI6Ii8zMzU3NzUwLzMwNDEyNzI3My01YTYxOTc0Zi1hMGRjLTRiZGQtOTRhZC04MTIyNWM1M2JhNTkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDVUMDUwODE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDBhZjEzYTYzZTI1YmFmN2E5ODhmZTliOWVhZmZkMTBlNzYzOGUzYjM1MTZlZGQ0YWM3NzVkY2Q2ZjgxMjU5YSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.x9oB0zWO0vy65Te427VVdneFZ4ORks9L3itCyyKIVpE)
cargo run --example webserver
Connect to the ip in the log output, then access the /camera.jpg path to take a picture and have it delivered to your browser
cargo run --example idotmatrix
If you have an idotmatrix display, the esp32-cam will deliver an image to it every few seconds
![image](https://private-user-images.githubusercontent.com/3357750/304120662-148e0a0e-3c06-47f0-9916-6f1ec76d67e5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MTMxOTYsIm5iZiI6MTcyNTUxMjg5NiwicGF0aCI6Ii8zMzU3NzUwLzMwNDEyMDY2Mi0xNDhlMGEwZS0zYzA2LTQ3ZjAtOTkxNi02ZjFlYzc2ZDY3ZTUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDVUMDUwODE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODA3YTlhY2UyMzhkODM3Yjc1NzgzM2UyZThjOTE3YmRkMDdhODNhZTJkMjY2OWZiM2U2MzRlNjk1YWFiZDFlNCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.IQ8YnJYJFP_IQEhhYTLPheCyip7KMSPj2OsIisXaoH8)