seanfhear / IoTea

IoT system for growing a tea plant.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Camera firmware

NiallEHunt opened this issue · comments

Background

Write the initial firmware for the ESP-EYE. May be able to use Mongoose OS with it but espressif have an example program which we could use as a start. The example program performs face detection and voice recognition on the device itself, while also running a HTTP server to stream the video. I also found another example project that uploads the photos to Azure to process the images. This may be a good place to look for "inspiration".

Tasks

  • Create HTTP server to stream video (to see if camera placement is right)
  • Upload photos to some online storage (will need to integrate with the AWS work. I believe @CSIGildea mentioned seeing talk of picture uploads over MQTT in his brief research)

Recommended approach

Use espressif's tooling and the examples in ESP-WHO as a starting point. This uses code from the ESP-IDF sdk for reading from the camera which would need to be rewritten to work with Mongoose OS so not recommended (this leaves us with issues if we wanna update the camera OTA).
Either use the example programs and flash those using the espressif tools or try to recreate the same code using Mongoose OS. Mongoose OS has some documentation for HTTP servers on the device. There is also a table of the camera connections to the esp here.

Another tutorial that may be useful for the ESP-EYE

An in depth tutorial of setting up the espressif environment and the esp-who program https://wiki.dfrobot.com/ESP-EYE%20Development%20Board%20SKU:%20DFR0620#target_5

Work being carried out on camera-firmware branch.

Merged camera-firmware branch