Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation in Pi4 on Raspbian 10.7 #128

Open
janisbvp opened this issue Dec 15, 2020 · 0 comments
Open

Compilation in Pi4 on Raspbian 10.7 #128

janisbvp opened this issue Dec 15, 2020 · 0 comments

Comments

@janisbvp
Copy link

I was thrilled to find this project to adopt for people counting, as required for every small shop this time.
Sadly, I only have Pi4 board with camera, that only accepts fresh linux install and has "latest and greatest" of OpenCV, GCC and so on.
Has anyone had any luck compiling on a fresh platform?
I am hitting all possible errors and since I am not programmer but sysadmin, feels like hitting wall.

I have managed to combat locations and 'includes' but now, that newer OpenCV is just killing me:
/home/pi/openFrameworks/apps/myApps/Footfall/src/CameraManager.cpp:43:9: error: ‘class cv::BackgroundSubtractorMOG2’ has no member named ‘setDouble’ pMOG2->setDouble("fTau", _cameraConfig.shadowPixelRatio); ^~~~~~~~~ /home/pi/openFrameworks/apps/myApps/Footfall/src/CameraManager.cpp: In member function ‘void CameraManager::update()’: /home/pi/openFrameworks/apps/myApps/Footfall/src/CameraManager.cpp:104:20: error: ‘class cv::BackgroundSubtractorMOG2’ has no member named ‘operator()’ pMOG2->operator()(combinedMask,processedMog); ^ /home/pi/openFrameworks/apps/myApps/Footfall/src/CameraManager.cpp:108:20: error: ‘class cv::BackgroundSubtractorMOG2’ has no member named ‘operator()’ pMOG2->operator()(videoMatrix,processedMog);

I am using Raspbian lite, but don't think that this is the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant