Open Ramsonjehu opened 2 years ago
The istructions appear to be wrong, in particular:
Edit "Arduino/Libraries/JPEGDecoder/src/User_Config.h" and comment out
"#define LOAD_SD_LIBRARY" and "#define LOAD_SDFAT_LIBRARY".
You should NOT comment out #define LOAD_SD_LIBRARY
I'm running person detection example from tensorflow_lite library. I have downloaded the jpeg decoder 1.8.0 from arduino library manager.
As in arduino_image_provide.cpp I have configured as mentioned below
/* The sample requires the following third-party libraries to be installed and configured:
Arducam
Download https://github.com/ArduCAM/Arduino and copy its
ArduCAM
subdirectory intoArduino/libraries
. Commit #e216049 has been tested with this code.Edit
Arduino/libraries/ArduCAM/memorysaver.h
and ensure that "#define OV2640_MINI_2MP_PLUS" is not commented out. Ensure all other defines in the same section are commented out.JPEGDecoder
Install "JPEGDecoder" 1.8.0 from the Arduino library manager.
Edit "Arduino/Libraries/JPEGDecoder/src/User_Config.h" and comment out "#define LOAD_SD_LIBRARY" and "#define LOAD_SDFAT_LIBRARY".
By doing so im facing the following error.
C:\Users\ML TEAM\Documents\Arduino\libraries\JPEGDecoder\src\JPEGDecoder.cpp: In member function 'int JPEGDecoder::decodeSdFile(const char*)': C:\Users\ML TEAM\Documents\Arduino\libraries\JPEGDecoder\src\JPEGDecoder.cpp:353:17: error: 'SD' was not declared in this scope File pInFile = SD.open( pFilename, FILE_READ); ^~ C:\Users\ML TEAM\Documents\Arduino\libraries\JPEGDecoder\src\JPEGDecoder.cpp:353:17: note: suggested alternative: 'SS' File pInFile = SD.open( pFilename, FILE_READ); ^~ SS C:\Users\ML TEAM\Documents\Arduino\libraries\JPEGDecoder\src\JPEGDecoder.cpp: In member function 'int JPEGDecoder::decodeSdFile(const arduino::String&)': C:\Users\ML TEAM\Documents\Arduino\libraries\JPEGDecoder\src\JPEGDecoder.cpp:361:17: error: 'SD' was not declared in this scope File pInFile = SD.open( pFilename, FILE_READ); ^~ C:\Users\ML TEAM\Documents\Arduino\libraries\JPEGDecoder\src\JPEGDecoder.cpp:361:17: note: suggested alternative: 'SS' File pInFile = SD.open( pFilename, FILE_READ); ^~ SS exit status 1 Error compiling for board Arduino Nano 33 BLE.