D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino:18:21: error: 'esp32cam' has not been declared
static auto loRes = esp32cam::Resolution::find(320, 240);
^~~~~~~~
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino:19:22: error: 'esp32cam' has not been declared
static auto midRes = esp32cam::Resolution::find(350, 530);
^~~~~~~~
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino:20:21: error: 'esp32cam' has not been declared
static auto hiRes = esp32cam::Resolution::find(800, 600);
^~~~~~~~
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino: In function 'void serveJpg()':
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino:24:14: error: 'esp32cam' has not been declared
auto frame = esp32cam::capture();
^~~~~~~~
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino: In function 'void handleJpgLo()':
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino:45:6: error: 'esp32cam' has not been declared
if (!esp32cam::Camera.changeResolution(loRes)) {
^~~~~~~~
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino: In function 'void handleJpgHi()':
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino:52:5: error: 'esp32cam' has not been declared
if(!esp32cam::Camera.changeResolution(hiRes)) {
^~~~~~~~
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino: In function 'void handleJpgMid()':
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino:58:6: error: 'esp32cam' has not been declared
if (!esp32cam::Camera.changeResolution(midRes)) {
^~~~~~~~
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino: In function 'void setup()':
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino:68:17: error: 'esp32cam' is not a namespace-name
using namespace esp32cam;
^~~~~~~~
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino:68:25: error: expected namespace-name before ';' token
using namespace esp32cam;
^
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino:69:1: error: 'Config' was not declared in this scope
Config cfg;
^~~~~~
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino:69:1: note: suggested alternative: 'long'
Config cfg;
^~~~~~
long
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino:70:1: error: 'cfg' was not declared in this scope
cfg.setPins(pins::AiThinker);
^~~
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino:70:13: error: 'pins' has not been declared
cfg.setPins(pins::AiThinker);
^~~~
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino:75:11: error: 'Camera' was not declared in this scope
bool ok = Camera.begin(cfg);
^~~~~~
D:\NIMISHA\driver drowsiness (2)\hardware\imgByFrame\imgByFrame.ino:75:11: note: suggested alternative: 'gamma'
bool ok = Camera.begin(cfg);
^~~~~~
gamma
exit status 1
Compilation error: 'esp32cam' has not been declared
Compile Error
Programme