Ask Your Question

AlaaM's profile - activity

2019-06-21 18:47:28 -0600 received badge  Student (source)
2018-07-31 11:22:24 -0600 commented answer Open eyes / closed eyes in Opencv

Unfortunately this doesn't work... It finds many other non existent circles... The code is implemented here: https://git

2018-06-17 06:49:52 -0600 asked a question How to get coordinates from matchTemplate()?

How to get coordinates from matchTemplate()? I'm using matchTemplate() to find a template in an image. Since I'm interes

2017-11-23 01:48:43 -0600 received badge  Enthusiast
2017-11-22 06:00:39 -0600 received badge  Supporter (source)
2017-11-21 10:07:42 -0600 commented answer Template Matching is wrong with specific Reference image

@pklab - I used your answer but even when I blur the image I still get very high scores on incorrect templates (0.96) ju

2016-12-09 01:12:02 -0600 received badge  Necromancer (source)
2016-11-01 07:43:13 -0600 answered a question error cross compiling for ARM

I found a workaround:

After running cmake and generating the make files, edit opencv/opencv/platforms/linux/<your_build_dir>/CMakeFiles/3.5.1/CMakeCCompiler.cmake and replace set(CMAKE_AR "CMAKE_AR-NOTFOUND") with set(CMAKE_AR "/usr/bin/arm-linux-gnueabi-ar")

Note that setting the variable CMAKE_AR in the cmake line (CMAKE_AR="/usr/bin/arm-linux-gnueabi-ar") does not work. Seems like this sets the flag to empty.

2016-11-01 03:47:29 -0600 answered a question Linking error: libzlib

I found a workaround:

After running cmake and generating the make files, edit opencv/opencv/platforms/linux/<your_build_dir>/CMakeFiles/3.5.1/CMakeCCompiler.cmake and replace set(CMAKE_AR "CMAKE_AR-NOTFOUND") with set(CMAKE_AR "/usr/bin/arm-linux-gnueabi-ar")

Note that setting the variable CMAKE_AR in the cmake line (CMAKE_AR="/usr/bin/arm-linux-gnueabi-ar") does not work. Seems like this sets the flag to empty.

2016-11-01 03:47:07 -0600 answered a question Opencv static link error

I found a workaround:

After running cmake and generating the make files, edit opencv/opencv/platforms/linux/<your_build_dir>/CMakeFiles/3.5.1/CMakeCCompiler.cmake and replace set(CMAKE_AR "CMAKE_AR-NOTFOUND") with set(CMAKE_AR "/usr/bin/arm-linux-gnueabi-ar")

Note that setting the variable CMAKE_AR in the cmake line (CMAKE_AR="/usr/bin/arm-linux-gnueabi-ar") does not work. Seems like this sets the flag to empty.

2016-11-01 03:46:59 -0600 answered a question static lib cross-compile zlib error

I found a workaround:

After running cmake and generating the make files, edit opencv/opencv/platforms/linux/<your_build_dir>/CMakeFiles/3.5.1/CMakeCCompiler.cmake and replace set(CMAKE_AR "CMAKE_AR-NOTFOUND") with set(CMAKE_AR "/usr/bin/arm-linux-gnueabi-ar")

Note that setting the variable CMAKE_AR in the cmake line (CMAKE_AR="/usr/bin/arm-linux-gnueabi-ar") does not work. Seems like this sets the flag to empty.

2016-10-31 06:54:04 -0600 received badge  Editor (source)
2016-10-31 06:05:03 -0600 answered a question Linking error: libzlib

Delete the folder opencv/platforms/linux, recreate it and download the following files from https://github.com/opencv/opencv/tree/master/platforms/linux and put them inside /opencv/platforms/linux:

  • arm-gnueabi.toolchain.cmake
  • arm.toolchain.cmake
  • gnu.toolchain.cmake

Finally create your build folder inside /opencv/platforms/linux like instructed here, and you're good to go.

2016-10-31 06:04:51 -0600 answered a question Opencv static link error

Delete the folder opencv/platforms/linux, recreate it and download the following files from https://github.com/opencv/opencv/tree/master/platforms/linux and put them inside /opencv/platforms/linux:

  • arm-gnueabi.toolchain.cmake
  • arm.toolchain.cmake
  • gnu.toolchain.cmake

Finally create your build folder inside /opencv/platforms/linux like instructed here, and you're good to go.

2016-10-31 06:03:03 -0600 answered a question static lib cross-compile zlib error

Delete the folder opencv/platforms/linux, recreate it and download the following files from https://github.com/opencv/opencv/tree/master/platforms/linux and put them inside /opencv/platforms/linux:

  • arm-gnueabi.toolchain.cmake
  • arm.toolchain.cmake
  • gnu.toolchain.cmake

Finally create your build folder inside /opencv/platforms/linux like instructed here, and you're good to go.

2016-10-30 11:21:04 -0600 asked a question Error while loading shared libraries: libopencv_highgui.so.3.1: internal error

I cross-compiled OpenCV for arm following this guide and built the sample program provided here.

When I run the program on my target I get the following error:

./DisplayImage: error while loading shared libraries:
lib/libopencv_highgui.so.3.1: internal error

What could be causing this?