eloquentarduino / eloquentsurveillance Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
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)
Great project, I have been trying to integrate into my Teleview project since over a year now.
How do I define/use other ESP cam models that are not mentioned in traits/ChooseModel.h ?
something like the TTGO-T1 for example ?
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;
^
Unfortunately streaming doesn't appear on vlc and blynk (legacy) streaming widget using the url: http://<ip_address>/stream
In browser it's okay.
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
Compiling "EloquentSurveillance/examples/CameraCaptureExample/CameraCaptureExample.ino" [with camera.aithinker();]
results in "error compiling for board ESP32-CAM".
What could be the problem here?
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".
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;
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.
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;
^
On line 58, a missing ) makes it to bug
Correct line 58 should be:
return String(ip[0] + '.' + ip[1] + '.' + ip[2] + '.' + ip[3])
Hello,
how can I configure the parameters for the XIAIO ESP32S3 Sense ?
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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.