Category Archives: Coding

Kinect face recognition

Using OpenCV haar image processing library to find faces on Kinect RGB cam real-time. Source will be released, but I’m in the middle of some major refactoring so hold on a bit longer…

Kinect OpenCV object recognition

OpenCV SURF object recognition. Capable of detecting object that is tilted and rotated. Using EmguCV OpenCV .Net wrapper. It’s part of my Kinect starters kit, a framework and a few sample modules for playing with Kinect programming in C#. Source will be released soon.

.Net GUI thread crossing

In this article I thought I’d try to explain the exception: Cross-thread operation not valid: Control ‘someControl’ accessed from a thread other than the thread it was created on. This article is a simplification and applies to WinForm and WPF (though samples are for WinForm). What is the GUI thread? When an application starts the main thread is… Read More »

Early alpha release: Kinect C# Starter Kit

NOTE: Microsoft has released Kinect SDK since this article was written. You probably want that instead of this. :) Much of the stuff I’m doing with Kinect involves two input pictures and one output I figured I’d make a platform to make it easy to test new stuff. The main idea is that I can add multiple modules… Read More »

Kinect

Yesterday I bought a Kinect and hooked it up to my PC. After a couple of hours of compiling drivers and finally realizing I had to switch USB ports for the camera to work I could start writing code. I used the CLNUIDeviceTest as a base since it already had the lines of code required to pull the… Read More »

Poem

A few years ago I came across this poem. A must to have in any large project. // // Pointers to pointers to printf()-like functions, // Unary minus and nested conjunctions, // Integers, booleans, characters, strings, // These are a few of my favorite things! // // Encapsuled functions with routines embeded. // Parallel process to run multi-threaded.… Read More »

Compression algorithm

Found an article from May 2007 that haven’t been posted. About time I guess. :) Every now and then I get a bright idea about a new compression algorithm I have to test. Here are results from my latest idea: Debug checksum: 418 Original data: Tedd! Original data length: 5 Compressed data length: 7 Result (non-binary): 418,5,295700136 Time… Read More »

C# Image Analysis (“auto-gaming”) – with source

For the past couple of weeks I have been playing Age of Conan with Sara. I am Weathor, Aquilonian Priest of Mitra. MWAHAHA. :) As always I’m looking for something to tinker with. Just playing the game is not that fun. I’ve been searching for addons for AoC, but I can’t find anything useful. Basically they don’t support… Read More »