ESP32-CAM Video Streaming over HTTP and Face Detection

Today I had some experience with ESP32 camera module. I was really surprised that it can stream camera over HTTP quite well with a very cheap price. I had an ESP32 CAM board + a USB programmer from my friend to upload program onto the chip and I decided to write this note to introduce this board to you.

This is my ESP32 and the programer board (CP2102):

My ESP32

My ESP32

My wiring

My wiring

You can buy a pretty cheap ESP32 module with a convenient programer with only 113k VND ($4.9) here.

After having all the items, you can use the instruction here or here to setup our ESP32 as a WIFI camera. This tutorial will help you setup a WIFI hotspot (access point) on your ESP32 and stream camera through HTTP connection.

Streaming camera with resolution 800x600

Face detection test

Think about the applications

We can think about a lot of applications we can do with this camera board:

  • Surveillance camera/robot.
  • Face detection and recognition for door lock (or how about a treasure box?).
  • A mini self-driving car with processing threads on your laptop.

Maybe I will revisit this board again and do some projects in the future.


Related Posts

Install OpenCV 4 on macOS using Homebrew

This is my note on how to install OpenCV 4 on macOS with Homebrew. I tested this tutorial on my Macbook Air 2020 with Apple silicon (M1 chip).

Read more

My development environment on macOS - Macbook Air M1

I maintain this note as my instruction for setting up macOS for development. Currently, I apply this on my Macbook Air M1 2020 - 16GB RAM and 512GB SSD.

Read more

Paper review: CenterTrack - CenterPoint - CenterPoint++

This is my note for 3 papers: CenterTrack - 2D object tracking, CenterPoint - 3D object detection and tracking, and CenterPoint++ - submission to the Waymo Real-time 3D Detection Challenge.

Read more