Introduction to Support Vector Machines OpenCV 3.0.0 Example (Working version)

Following is the slightly modified version of the example for “Introduction to Support Vector Machines” that is working with OpenCV v.3.0.0 (Current version on OpenCV website only works with version 2.4.X)

I assume that you have installed OpenCV 3.0.0 on your computer successfully and you know how to add library references etc. If you have any questions please put a comment or use the “Contact Me” page.

Continue reading “Introduction to Support Vector Machines OpenCV 3.0.0 Example (Working version)”

Add version information to your executables and libraries in Qt

Executable files have an embedded version information which can be found by checking their properties. It includes version number, comments, company info etc. As developer you sometimes need to leave a scratch on the EXE files you are providing to your customers in order to track what you have and what your customers have.

Continue reading “Add version information to your executables and libraries in Qt”

How to use Windows API in Qt (A simple example)

Qt is a cross-platform framework that encapsulates API across many Operating Systems but one always faces situations in which he/she needs to access and use OS specific capabilities. Windows API is a massive collection of interfaces that allow a programmer to use and include Windows features in their programs.  Below is a simple example on how to use Windows API in Qt.

Let’s say we want to use GetSystemTime function in our Qt program. Searching Google for “GetSystemTime API” you’ll get the API Documentation from MSDN website. Parameters and return type values should be obvious:

Continue reading “How to use Windows API in Qt (A simple example)”

Dying Deamer Dreamt Death

You dream of a beautiful house up on a calm and green hill. You don’t want to wake up but there it is on the corner of the big rock beside the beautiful wooden house. Staring right at your face with its disfigured face and body, with all its surreality, with all its ugly beauty, reminding you that it’s a dream. You take a bullet to the head. You are not awake. You feel the noises. It’s real and you’re on the edge. You are falling to the other side. You pass to the other side and there is no sound and that’s the sole difference. You are dead and it’s still staring.

Max Ernst. L'Ange du foyer ou Le Triomphe du surréalisme. 1937. Oil on canvas. 114 x 146 cm. Private collection.

Max Ernst. L’Ange du foyer ou Le Triomphe du surréalisme. 1937. Oil on canvas. 114 x 146 cm. Private collection.

http://www.abcgallery.com/E/ernst/ernst24.html

ISS Symphony – Timelapse of Earth from International Space Station | 4K

Compilation of timelapses from the International Space Station.

Suggestions: 4K, dark room and volume up.
Music: Ludovico Einaudi – Experience (Live At Fabric, London 2013)
Editor: Dmitry Pisanko

All post production: deflickering, stabilization, noise reduction and color corrections was done in Adobe Premiere Pro and After Effects.

Facebook: https://www.facebook.com/dmitry.pisanko
Instagramm: https://instagram.com/dmitrypisanko/
Livejournal: http://timon-timonich.livejournal.com

——————————-

Image Courtesy of the Image Science & Analysis Laboratory,
NASA Johnson Space Center, The Gateway to Astronaut Photography of Earth

Original data: 95 623 files, 109 Gigabytes downloaded from http://eol.jsc.nasa.gov

How to convert date formats in SQLite

Date types are handled like a string in SQLite and below is an example of how to change the date format from MM/dd/yyyy to yyyy-MM-dd. With a little modification it can be used for other formats too.

select substr(column, 7, 4)||”-“||substr(column, 1,2)||”-“||substr(column, 4,2) from table