Code Monkey home page Code Monkey logo

esp32-cam-objectdetection's Introduction

ESP32-CAM: remoted object detection camera

Demonstration

ESP32-CAM: Remote Control Object Detection Camera

Descrition

The ESP32-CAM would stream the images to PC via WebSocket packages, then the remote software in PC would receive the images and do the object detection with Tensorflow Lite(SSD Mobilenetv2) or Keras (YOLOv3).

Hardware setup

Components are used: ESP32-CAM module, RC Servo x2, 5V Battery.

Software setup

The software contains 2 parts

  1. ESP32-CAM firmware
  1. Remote control software (Can be run on Ubuntu or Windows PC)
  • ubuntu: Install virtualenv
sudo apt-get install python3-pip
sudo pip3 install virtualenv
cd ESP32CamObjectDetection/remote
virtualenv -p python3 <env_name>
source <env_name>/bin/activate
(<env_name>)$ pip install -r requirementVirtualenv.txt
  • windows 10: Not yet checked but it should be similar

Run remote control:

(<env_name>)$ cd remote
(<env_name>)$ python3 main.py

Note: If your computer does not have GPU, update setting.ini by changing GPU = 0, or you can change like this to run the code in CPU.

For use GPU, download the pretrained model here and place in the remote folder.

CNN models reference sources

SSD Mobilenetv2: https://github.com/tensorflow/models/tree/master/research/object_detection

Keras-Yolov3 https://github.com/qqwweee/keras-yolo3

esp32-cam-objectdetection's People

Contributors

longpth avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.