Ask Your Question

Will's profile - activity

2020-07-23 09:29:44 -0600 asked a question Enabling Address Sanitizer for OpenCV builds

Enabling Address Sanitizer for OpenCV builds Is there a way to enable Address Sanitizer for OpenCV builds? I've tried a

2020-07-23 09:29:38 -0600 asked a question Enabling Address Sanitizer for OpenCV builds

Enabling Address Sanitizer for OpenCV builds Is there a way to enable Address Sanitizer for OpenCV builds? I've tried a

2018-02-23 00:00:40 -0600 asked a question opencv_dnn provides incorrect inferences after transform_graph

opencv_dnn provides incorrect inferences after transform_graph I am running into a problem that has been encountered by

2017-09-14 22:30:53 -0600 received badge  Notable Question (source)
2016-06-18 00:42:58 -0600 received badge  Nice Answer (source)
2016-05-16 02:16:18 -0600 received badge  Teacher (source)
2015-09-25 09:05:01 -0600 received badge  Popular Question (source)
2015-06-23 15:40:02 -0600 received badge  Necromancer (source)
2014-11-03 11:51:39 -0600 answered a question LIBTIFF_4.0 link errors

Unfortunately, OpenCV currently needs libtiff4, which Ubuntu 14.04 has dropped from their packaging system. As a workaround, specify -DBUILD_TIFF=ON to CMake when configuring OpenCV. This will have OpenCV build the distributed version of libtiff4, and should solve your linker problems.

Hope that helps!

2014-09-05 18:59:58 -0600 commented question FFmpeg performance decrease after OpenCV 2.4.6 to 2.4.9 upgrade on Windows

@glopes Thanks for the info! Glad to know I'm not the only one experiencing the performance drop. I will definitely give your work around a shot. I'll also start gathering info to submit an FFmpeg bug report to hopefully fix the upstream problem.

2014-09-03 09:55:31 -0600 commented answer FFmpeg performance decrease after OpenCV 2.4.6 to 2.4.9 upgrade on Windows

@jestshen Thanks for the idea, but unfortunately both my software and the FFmpeg library I built have optimizations enabled.

2014-09-02 13:43:50 -0600 received badge  Editor (source)
2014-09-02 13:39:51 -0600 asked a question FFmpeg performance decrease after OpenCV 2.4.6 to 2.4.9 upgrade on Windows

I have been using OpenCV's VideoCapture class to decode several H.264 camera streams simultaneously in a custom video viewer application. Unfortunately, when I upgraded OpenCV 2.4.6 to 2.4.9 my client reported a large slow down in the framerate at which the viewer shows frames. The framerates are roughly half of what they used to be (i.e., 30fps is now 15fps viewer speed).

I have since built FFmpeg from source myself, and am seeing very similar slow downs with my own build of FFmpeg 2.3.3 (as well as git head) (vs. 2.0.2, which is present in the OpenCV 2.4.9) using OpenCV's FFmpeg wrapper implementation.

EDIT: Both my FFmpeg build and program are built in Release mode with optimizations.

I was wondering if anyone on the OpenCV team happened to have custom build flags for 2.4.6, or if they are the same as is shown in the GitHub readme? Was libx264 possibly included in some of the previous builds; I understand that libx264 is a higher performance H.264 codec, so maybe that accounted for the speed decrease? Has anyone else noticed this slow down? It may not occur when reading a single stream, but it is definitely noticeable when decoding many. This may turn into an FFmpeg bug report, but just wanted to make sure I wasn't seeing things :D

2012-12-06 04:56:49 -0600 received badge  Student (source)
2012-12-05 15:56:40 -0600 asked a question Setting CFLAGS and CXXFLAGS for OpenCV 2.4.3

I have been able to, in the past, set the compiler options via the command-line like this:

CXXFLAGS="-O2 -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp" CFLAGS="-O2 -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp" cmake -DCMAKE_TOOLCHAIN_FILE=~/src/arm-toolchain.cmake ..

However, as of OpenCV 2.4.3 the CMake scripts seem to be actively ignoring/resetting the user specified CFLAGS. Is there a way around this I'm not seeing, or should I file a bug report?

Thanks for the help!