A good library for image processing (Computer Vision) – OpenCV

OpenCV is an open source computer vision library originally developed by Intel. It is free for commercial and research use under a BSD license. The library is cross-platform, and runs on Mac OS X, Windows and Linux. It focuses mainly towards real-time image processing, as such, if it finds Intel’s Integrated Performance Primitives on the system, it will use these commercial optimized routines to accelerate itself.

This implementation is not a complete port of OpenCV. Currently, this library supports :

  • real-time capture
  • video file import
  • basic image treatment (brightness, contrast, threshold, …)
  • object detection (face, body, …)
  • blob detection

Future versions will include more advanced functions such as motion analysis, object and color tracking, multiple OpenCV object instances …

For more information about OpenCV visit the Open Source Computer Vision Library Intel webpage, the OpenCV Library Wiki, and the OpenCV Reference Manual (pdf).


Personal note: how to increase the menu font size in Netbeans with 4K display

The default font size used in menus, dialogs, views, etc. is too small. Can I make it bigger?

Yes. The size of the interface font is controlled by the --fontsize <size> option. The default <size> value is 11. You can set it to 12 or even a higher value and see if it works better for you. The --fontsize argument applies to fonts used in menus, dialogs and most components in the IDE.

To change the GUI font-size only once, you can launch NetBeans with the --fontsize <size> option.

To change the GUI font size permanently, edit netbeans.conf file. Specifically, in netbeans.conf (which is located in the /etc folder of your NetBeans installation), look for the line that starts with “netbeans_default_options=”. Edit the fontsize parameter if present. If not, add something like “–fontsize 16” (without the quote) at the end of the line.

The size of fonts used in editors (rather than the user interface) is also based on the --fontsize parameter, unless it has been customized in Tools | Options | Fonts & Colors (or Tools | Options | Editing | Editor Settings in older versions).


Run NetBeans with a larger font size:

netbeans --fontsize 14

Run NetBeans with Metal L&F and a larger font size:

netbeans –laf javax.swing.plaf.metal.MetalLookAndFeel –fontsize 14

Question: is there a Java library to manipulate Microsoft documents?
Answer: check out Apache POI – the Java API for Microsoft Documents