Skip to content

realDavy/esp32-edge-capture

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 Edge Capture

Overview

ESP32 Edge Capture is a tool designed to simplify image data collection from an ESP32 camera module for training and testing AI/ML models on Edge Impulse. The tool facilitates seamless communication between an ESP32 and a PC via USB, enabling users to capture and upload labeled image data efficiently.

Features

  • USB communication between ESP32 and PC.
  • Web-based interface for ease of use.
  • Supports both training and testing data collection.
  • Real-time image capture and upload to Edge Impulse.

Requirements

Installation

  1. Clone the Repository:

    git clone https://github.com/MukeshSankhla/ESP32-Edge-Capture.git
    cd ESP32-Edge-Capture
  2. Install Dependencies:

    pip3 install -r requirements.txt
  3. Upload ESP32 Code:

    • Open the Arduino IDE.
    • Go to File > Open and select the code from the ESP32_Code folder.
    • Select the correct board (e.g., DFRobot FireBeetle-2 ESP32-S3) and COM port.
    • Click Upload to flash the code onto your ESP32.

Usage

  1. Run the Web Interface:
    python app.py
  2. Open the web interface in your browser (default: http://localhost:5000).
  3. Select the COM port, input your Edge Impulse API key, and choose between Train or Test mode.
  4. Enter the label for your dataset.
  5. Click Capture and Upload to start data collection.

How It Works

  • The PC sends a command to the ESP32 to capture an image.
  • The ESP32 captures the image and sends it back to the PC.
  • The PC uploads the image with the specified label to Edge Impulse.

License

This project is licensed under the MIT License.


Author: Mukesh Sankhla
Website: https://www.makerbrains.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 40.4%
  • Python 33.2%
  • C++ 26.4%