Power & Source of Big Ideas

Compiling OPEN CV from Source Code

Moderators: chensy, FATechsupport

I am trying to research into a method of compiling openCV from source code. I have tried it on other boards such as Tinkerboard and Nano PC T3. I have succeeded in compiling it.

I was checking the wiki for NanoPI M4, and found that there are some scripts which are basically doing all the installation work for openCV. I was wondering if any one has compiled openCV on NanoPi M4 with Lubuntu or Armbian ?

Also I want to know any specifics i should take care of for interfacing CSI Camera and using it in Opencv ?

If possible a direction on how to get the camera working with /dev/video0 as option in opencv.

Help and Support much appreciated.
Thanks,
BR.
Rohan
Yea, same here, can you share the build scripts?
In next few days I will update my own scripts (need to finish Raspberry Pi first ;) ), but generally it's noting unusual:

Code: Select all

cmake -D CMAKE_BUILD_TYPE=RELEASE \
   -D BUILD_TESTS=OFF \
   -D BUILD_EXAMPLES=OFF \
   -D INSTALL_C_EXAMPLES=OFF \
   -D WITH_OPENCL=ON \
   ..
make -j 6
sudo make -j 6 install
ayaromenok wrote:
In next few days I will update my own scripts (need to finish Raspberry Pi first ;) ), but generally it's noting unusual:

Code: Select all

cmake -D CMAKE_BUILD_TYPE=RELEASE \
   -D BUILD_TESTS=OFF \
   -D BUILD_EXAMPLES=OFF \
   -D INSTALL_C_EXAMPLES=OFF \
   -D WITH_OPENCL=ON \
   ..
make -j 6
sudo make -j 6 install


Okay cool, so its Bascially the same what i did with Nano PC T3. I presume, that its going to be the same since the basic principle and operating system remains the same.

Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 825 on Wed Aug 28, 2019 3:18 pm

Users browsing this forum: No registered users and 3 guests