2018-04-08 00:15:47 -0600
| received badge | ● Student
(source)
|
2018-01-30 18:58:44 -0600
| received badge | ● Notable Question
(source)
|
2016-10-16 10:12:41 -0600
| received badge | ● Popular Question
(source)
|
2015-07-27 02:38:08 -0600
| commented answer | CvType meaning Same question here, where can I find a doc for all these constants? Such as CV_16SC3 . I guess it means 16bit per channel, and is signed. But why signed ? |
2015-07-22 00:22:51 -0600
| commented question | imread always return empty matrix I encountered the same issue. It turns out I should use the full path of the image file. |
2015-07-22 00:22:41 -0600
| commented question | imread returning empty matrix in debug, double-checked that I have the correct libs I encountered the same issue. It turns out I should use the full path of the image file. |
2015-07-22 00:22:28 -0600
| commented question | problem with reading image to Mat I encountered the same issue. It turns out I should use the full path of the image file. |
2015-07-19 09:24:12 -0600
| asked a question | java.lang.UnsatisfiedLinkError when using binaries built from source. I just built the opencv-300.jar and opencv_java300.dll from source with extra modules from the opencv contrib repo . I used the jar and dll in my Java project. But it reports the following error when I try to create the BRISK DescriptorExtractor . Exception in thread "main" java.lang.UnsatisfiedLinkError: org.opencv.features2d.DescriptorExtractor.create_0(I)J
at org.opencv.features2d.DescriptorExtractor.create_0(Native Method)
at org.opencv.features2d.DescriptorExtractor.create(DescriptorExtractor.java:127)
at mainPkg.MainApp.MatchExperiment(MainApp.java:54)
at mainPkg.MainApp.main(MainApp.java:45)
***** VIDEOINPUT LIBRARY - 0.1995 - TFW07 *****
Based on my understanding of the UnsatisfiedLinkError , it seems the native method DescriptorExtractor.create_0() cannot be found. Any hint is appreciated... Add 1 Based on my limited JNI knowledge, I started to search for the JNI declarations in the source code of OpenCV extra modules. It is org.opencv.features2d.DescriptorExtractor missing. So I searched for Java_org_opencv_features2d_DescriptorExtractor . And just as expected, it is not found. So it is never exported as JNI. So I cross my fingers and start to recall... Based on my limited experience with Machine Learning, I remember the jargon feature is intimately related to it. And I remembered I glimpsed some ml in the CMake configuration for OpenCV. So I go through the configuration entries and found this: BUILD_opencv_ml And it is NOT selected. So I checked it. And regenerated the VS project files. And this time I found the Java_org_opencv_features2d_DescriptorExtractor . Now I am crossing my fingers again and waiting for the new build to complete... Hopefully, it will work... |
2015-07-18 09:10:21 -0600
| commented question | How to build the Java wrapper for OpenCV 3.0? @berak I just re-installed both python27 and python34 . Seems some progress. I will be updating my post. |
2015-07-18 08:36:29 -0600
| commented question | How to build the Java wrapper for OpenCV 3.0? @berak yes, i can. it outputs 2.7.10 (default, May 23 2015, 09:40:32) |
2015-07-18 06:48:12 -0600
| commented question | How to build the Java wrapper for OpenCV 3.0? |
2015-07-18 06:43:55 -0600
| commented question | How to build the Java wrapper for OpenCV 3.0? I am really curious about where it get the python 1.4 from. |
2015-07-18 06:38:22 -0600
| commented question | How to build the Java wrapper for OpenCV 3.0? |
2015-07-18 05:54:43 -0600
| commented question | How to build the Java wrapper for OpenCV 3.0? @berak Yes sir. Full log just added.. ;) |
2015-07-18 05:51:03 -0600
| commented question | How to build the Java wrapper for OpenCV 3.0? @berak I added some log during generation. |
2015-07-18 05:50:24 -0600
| received badge | ● Editor
(source)
|
2015-07-18 05:18:14 -0600
| commented question | How to build the Java wrapper for OpenCV 3.0? @berak I rebuild the INSTALL project. And totally 99 projects are successfully built. After build finished, I searched the build directory for opencv_java300.dll . But still no luck. I noticed there's something like opencv_ffmpeg300.dll . I recheck the configure entries in the cmake-gui , I see entries like WITH_FFMPEG . But I didn't see anything related to java . Could you shed some more light? Thx. |
2015-07-18 02:47:52 -0600
| commented question | How to build the Java wrapper for OpenCV 3.0? @berak Thanks for the hint. I re-configure the build process by unchecking the BUILD_SHARED_LIBS in cmake-gui , and rebuild the solution in visual studio 2013. But I didn't find a opencv_java300.dll generated. Could you provide more details? |
2015-07-17 19:12:57 -0600
| asked a question | How to build the Java wrapper for OpenCV 3.0? I am using OpenCV 3.0 in my Java application through the opencv-300.jar and opencv_java300.dll . They come with the standard installation. But some extra modules are not in the standard installation. So I build an OpenCV 3.0 with the opencv-contrib repo. But the build generates about 40 binaries. How can I generate something like opencv-300.jar and opencv_java300.dll for Java adoption? Do I need to turn to SWIG or something? ADD 1 I see the following log in the cmake-gui generation process: Java:
ant: C:/apache-ant-1.9.4/bin/ant.bat (ver
1.9.4)
JNI: C:/Java/jdk1.6.0_45_32bit/include C:/Java/jdk1.6.0_45_32bit/include/win32 C:/Java/jdk1.6.0_45_32bit/include
Java wrappers: NO
Java tests: NO
Could this be the reason? The complete log is below: found IPP (ICV version): 8.2.1 [8.2.1]
at: E:/Softwares/OpenCV/OpenCV3.0.0/opencv/sources/3rdparty/ippicv/unpack/ippicv_win
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
To enable PlantUML support, set PLANTUML_JAR environment variable or pass -DPLANTUML_JAR=<filepath> option to cmake
Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "2.7" (found C:/Python/Python27/python.exe)
Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "2.6" (found C:/Python/Python27/python.exe)
Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "3.4" (found C:/Python/Python27/python.exe)
Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "3.2" (found C:/Python/Python27/python.exe)
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
Found apache ant 1.9.4: C:/apache-ant-1.9.4/bin/ant.bat
ERROR:
The system was unable to find the specified registry key or value.
ERROR:
The system was unable to find the specified registry key or value.
Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN)
VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
Tesseract: NO
videoio: Removing WinRT API headers by default
Tesseract: NO
General configuration for OpenCV 3.0.0 =====================================
Version control: unknown
Platform:
Host: Windows 6.1 AMD64
CMake: 3.1.3
CMake generator: Visual Studio 12 2013
CMake build tool: C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe
MSVC: 1800
C/C++:
Built as dynamic libs?: NO
C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe (ver 18.0.31101.0)
C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /EHa /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /arch:SSE2 /Oi /fp:fast /wd4251 /wd4324 /MP4 /MT /O2 /Ob2 /D NDEBUG /Zi
C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /EHa /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /arch:SSE2 /Oi /fp:fast /wd4251 /wd4324 /MP4 /D_DEBUG /MTd /Zi /Ob0 /Od /RTC1
C Compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin ... (more) |
2015-07-17 18:34:48 -0600
| received badge | ● Scholar
(source)
|
2015-07-17 18:34:45 -0600
| received badge | ● Supporter
(source)
|
2015-07-16 23:59:33 -0600
| asked a question | Can OpenCV do these processing? I am working on an OCR project. I need to do some pre-processing similar to the link below:
http://cn.mathworks.com/help/vision/e... The steps are: - Region detection (MSER)
- Edge detection (Canny)
- Connected Component Analysis (for character candidates filtering)
I am not familiar with OpenCV. I am wondering if OpenCV can do all of these. |