Saturday, March 17, 2012

PDF To Text Convertor

I am so tired today very very bored!!!, and then I want to do something bored :) so I created this little application to convert PDF to Text. I created this using Eclipse and java + pdfbox library from apache jakarta project to convert PDF to Text.


File can be download from this link contain two files, one file TTex.jar is executable jar file, will automatic run with double click if JRE installed on the computer and one file PDFTTex.rar is Eclipse project, to compile the project using eclipse need PDFBox library, can be download from this link.

Saturday, March 3, 2012

Compare image scan method

Original Image Link

In this section I will try to compare performance from some scanning method using OpenCV, the compare is about performance image scanning for manipulate per color data.

What will be compare on this section:
  • Classic C style operator scanning method
  • Iterator safe method scanning method
  • On-the-fly address calculation with reference returning scanning method
  • Use LUT() core function from OpenCV

Setup OpenCV With QT Creator

OpenCV (Open Source Computer Vision) is a library of programming functions for real time computer vision.
OpenCV is released under a BSD license, it is free for both academic and commercial use. It has C++, C, Python and soon Java interfaces running on Windows, Linux, Android and Mac. The library has >2500 optimized algorithms (see figure below). It is used around the world, has >2.5M downloads and >40K people in the user group. Uses range from interactive art, to mine inspection, stitching maps on the web on through advanced robotics.

How to install opencv? it's depend on our operating system, installation procedure can be found here http://opencv.willowgarage.com/wiki/InstallGuide.

I assume that OpenCV already installed on the computer, it's easy to integrate OpenCV lib and header to QTCreator
  • Create Empty QTCreator Project
 Open QTCreator and creaate empty QT Project File -> New File or Project


then give the project name, in this case I use OpenCV as project name.
  • Add Library OpenCV to .pro file project
 Open .pro file and add OpenCV library, in this case I use Linux as my operating system so in the .pro file will be like this


Friday, March 2, 2012

QT


Qt is a cross-platform application and UI framework for developers using C++ or QML, a CSS & JavaScript like language. Qt Creator is the supporting Qt IDE.
Qt, Qt Quick and the supporting tools are developed as an open source project governed by an inclusive meritocratic model. Qt can be used under open source (LGPL v2.1) or commercial terms.

I'm very excited with QT in few month, I' not sure why but it's new  thing for me because before using QT I use PHP, Python, Java and other C++ than QT. I found something different from QT because It's native code and cross platform. Target for me is write some example and some project related with QT in this blog, being QT developer and contributor. I like work with people around the world.
Let's rock in the code!