run.sh error
Question one:
Error analysis
The aggregate'std::ifstream inFile' type is incomplete and cannot be defined.
Is the relationship between the header file.
Solution
Add in the code:
#include <fstream>
using namespace std;
Question two:
Error analysis
The CV code in the demo is based on the low version of opencv, and our board is equipped with a high version of CV, so you need to change these CV_XXX
to just cv::COLOR_BGRA2RGB
.
For example, my version is 4.4.0.
Solution
These need to CV_XXX
be changed cv::COLOR_BGRA2RGB
, and follow the corresponding syntax error can be corrected.