Power & Source of Big Ideas

NanoPi M4 OpenCV setup

Moderators: chensy, FATechsupport

I recently received my nanopi m4 to complete a project I'm working on using opencv for image processing however I cannot figure out what I need to do. The wiki says that openCV is preinstalled in the software but I cant find it. I then proceed to install eclipse and try to install the openCV master files that are needed. This is completed. So I follow the linux eclipse opencv guide for the first project however I cannot add libraries as the terminal command pkg-config --cflags opencv returns
"Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found"

Similarly the next command pkg-config --libs opencv returns a similar error. I have tried looking online at a number of forums to solve the issue however I have not made any progress.

Please could anyone offer help where possible especially if you have had the same issues or point me to something I'm missing.

Thank you very much.
If OpenCV is installed but not detected by pkg-config, you need to set the PKG_CONFIG_PATH environment variable to include the directory containing the OpenCV pkg-config file.

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 4 guests