Code Monkey home page Code Monkey logo

eloquentsurveillance's Issues

FileServer.h --> not showing right path to images

Great library! Thanks !

I found one error in file: FileServer.h
line 60: html += F("</td><td><a href=\"/view");
should end with an / after view/
line 60: html += F("</td><td><a href=\"/view/");

and
line 63: html += filename.substring(0);
instead of filename.substring(1)

Bugs (typo) in src/motion.h

libraries\eloquentsurveillance\src\motion.h:443:104: error: 'uitn16_t' has not been declared
void forEachBlock(Callback callback, Reducer& reducer, uint16_t x, uint16_t y, uint16_t width, uitn16_t height, uint8_t size) {
^

libraries\eloquentsurveillance\src\motion.h: In member function 'void EloquentSurveillance::Motion::locate2()':
libraries\eloquentsurveillance\src\motion.h:412:61: error: expected primary-expression before ';' token
for (uint16_t y = _location.y > blockSize / 2 ? ; y < _location.y + blockSize; y += blockSize / 2) {
^
libraries\eloquentsurveillance\src\motion.h:412:61: error: expected ':' before ';' token
libraries\eloquentsurveillance\src\motion.h:412:61: error: expected primary-expression before ';' token
libraries\eloquentsurveillance\src\motion.h:418:47: error: 'W' was not declared in this scope
uint32_t offset = j * W;
^

Region coords question

Hello

is still .x and .y TOP/LEFT in the region definition when I use
camera.vflip();
camera.hflip();
in camera settings?
Or they are "moved to BOTTOM/RIGHT"?

Thanx

Motion File Server example bug

While this example works OK under 1.0.12, It does not display files under 1.0.13. When a file is selected from the list, I get a page with a "Rotate" button. This page references an image "/rawcapture_xx.jpg" and receives a 404 when trying to download it. The image file name apparently should be "/capture_xx.jpg"!

<button id="rotate" style="position:absolute;top:10px;left:10px;z-index:1;">Rotate</button><div id="frame" style="display:flex"><img id="image" src="/rawcapture_57.jpg" ...

Furthermore, with both versions of the library, the file list web page omits the first letter of each file e.g. "apture_xx.jpg" instead of "capture_xx.jpg". It also includes the filename "ystem Volume Information".

as at 1May23 your top "Motion Detection Example" and "MotionDetectionSaveToSpiffs.ino" won't compile

Using your "github.com/eloquentarduino/EloquentSurveillance" software as at 1May23 and "github.com/espressif/arduino-esp32" as at 1May23 with the arduino-IDE, compiling the above example (or your "MotionDetectionSaveToSpiffs.ino" example) fails to compile with the error messages:

In file included from C:\Users\Arduino\libraries\github_eloquentarduino_EloquentSurveillance-main\src/EloquentSurveillance.h:14,
                 from C:\Users\Arduino\motion_v1\motion_v1.ino:2:
c:\users\arduino\libraries\github_eloquentarduino_eloquentsurveillance-main\src\motion.h:443:104: error: 'uitn16_t' has not been declared
         void forEachBlock(Callback callback, Reducer& reducer, uint16_t x, uint16_t y, uint16_t width, uitn16_t height, uint8_t size) {
                                                                                                        ^~~~~~~~
c:\users\arduino\libraries\github_eloquentarduino_eloquentsurveillance-main\src\motion.h: In member function 'void EloquentSurveillance::Motion::locate2()':
c:\users\arduino\libraries\github_eloquentarduino_eloquentsurveillance-main\src\motion.h:412:61: error: expected primary-expression before ';' token
             for (uint16_t y = _location.y > blockSize / 2 ? ; y < _location.y + blockSize; y += blockSize / 2) {
                                                             ^
c:\users\arduino\libraries\github_eloquentarduino_eloquentsurveillance-main\src\motion.h:412:60: error: expected ':' before ';' token
             for (uint16_t y = _location.y > blockSize / 2 ? ; y < _location.y + blockSize; y += blockSize / 2) {
                                                            ^~
                                                            :
c:\users\arduino\libraries\github_eloquentarduino_eloquentsurveillance-main\src\motion.h:412:61: error: expected primary-expression before ';' token
             for (uint16_t y = _location.y > blockSize / 2 ? ; y < _location.y + blockSize; y += blockSize / 2) {
                                                             ^
c:\users\arduino\libraries\github_eloquentarduino_eloquentsurveillance-main\src\motion.h:418:47: error: 'W' was not declared in this scope
                         uint32_t offset = j * W;
 

Truncated image

Hello,
I use your library with an ESP32-CAM/OV2640 in SXGA format to detect a motion and send the image (I do not use the SD card at all) using camera.getBuffer() to get the buffer address and camera.getFileSize() to get the buffer length. Sometimes, the image gets truncated. What am I doing wrong ?
Many thanks for your support.

Bugs (typo) in src/motion.h

c:\users\e.nouranian\documents\arduino\libraries\eloquentsurveillance-main\src\motion.h:412:61: error: expected primary-expression before ';' token
for (uint16_t y = _location.y > blockSize / 2 ? ; y < _location.y + blockSize; y += blockSize / 2) {
^
c:\users\e.nouranian\documents\arduino\libraries\eloquentsurveillance-main\src\motion.h:418:47: error: 'W' was not declared in this scope
uint32_t offset = j * W;
^

Correction for WifiHelper.h file

On line 58, a missing ) makes it to bug

Correct line 58 should be:
return String(ip[0] + '.' + ip[1] + '.' + ip[2] + '.' + ip[3])

Supported cameras

Hello,
how can I configure the parameters for the XIAIO ESP32S3 Sense ?

Which Arduino IDE version and "Arduino core for ESP32" version to use?

My AiThinker camera runs other program correctly but I'm get the following error:

18:14:28.621 -> [INFO] Init
18:14:28.668 -> E (3918) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)
18:14:28.668 -> [ERROR] Init error
18:14:28.668 -> E (3919) gpio: gpio_install_isr_service(449): GPIO isr service already installed
18:14:28.715 -> E (3954) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)

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.