Category Archive: Website

Apr 04

Bootloading an ATmega88 for Arduino [w/ code]

atmega88_bootloading

Just wanted to put up a small tut on how to put an Arduino bootloader on an ATmega88. I very roughly followed:  http://www.ladyada.net/learn/avr/avrdude.html And  http://itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard (Although they make it way too complicated) And ATMEL's datasheet for ATmega88 is also very good to have open at all times:  http://www.atmel.com/Images/2545s.pdf First, put everything on a breadboard: (This took …

Continue reading »

Share

Feb 29

Online places to buy hardware

Hi I always strive to be more open with my knowledge, so I decided to publish more posts of lesser "scientific" value and more just helpful stuff in various domains. This time I want to share a list of website where you can purchase hardware for hacking and building. Many are unhappy with the one-stop-shop …

Continue reading »

Share

Feb 07

Structure from Motion and 3D reconstruction on the easy in OpenCV 2.3+ [w/ code]

Hello This time I'll discuss a basic implementation of a Structure from Motion method, following the steps Hartley and Zisserman show in "The Bible" book: "Multiple View Geometry". I will show how simply their linear method can be implemented in OpenCV. I treat this as a kind of tutorial, or a toy example, of how …

Continue reading »

Share

Jun 17

Simple Kalman filter for tracking using OpenCV 2.2 [w/ code]

kalman using velocity

Hi, I wanted to put up a quick note on how to use Kalman Filters in OpenCV 2.2 with the C++ API, because all I could find online was using the old C API. Plus the kalman.cpp example that ships with OpenCV is kind of crappy and really doesn't explain how to use the Kalman …

Continue reading »

Share

Jun 08

UnderGet – Download blocked content

060811_1439_UnderGetDow1.png

Ever wanted to try and download an mp3 file at your workplace, but couldn't because corporate firewall policy was to block every url ending with the .mp3 prefix?

Continue reading »

Share

Mar 14

Download all your Last.fm loved tracks in two simple steps

Screen shot 2011-03-14 at 12.03.26 AM

I'm a fan of Last.fm online radio, and I have a habit of marking every good song that I hear as a "loved track". Over the years I got quite a list, and so I decided to turn it into my jogging playlist. But for that, I need all the songs downloaded to my computer …

Continue reading »

Share

Jan 25

10 lines-of-code OCR HTTP service with Python, Tesseract and Tornado

Screen shot 2011-01-25 at 12.32.27 PM

Hi I believe that every builder-hacker should have their own little Swiss-army-knife server that just does everything they need, but as a webservice. You can basically do anything as a service nowadays: image/audio/video manipulation, mock-cloud data storage, offload heavy computation, and so on. Tornado, the lightweight Python webserver is perfect for this, and since so …

Continue reading »

Share

Dec 28

Hand gesture recognition via model fitting in energy minimization w/OpenCV

Screen shot 2010-12-25 at 10.50.41 AM

Hi Just wanted to share a thing I made - a simple 2D hand pose estimator, using a skeleton model fitting. Basically there has been a crap load of work on hand pose estimation, but I was inspired by this ancient work. The problem is setting out to find a good solution, and everything is …

Continue reading »

Share

Jun 24

Image Recoloring using Gaussian Mixture Model and Expectation Maximization [OpenCV, w/Code]

eggplant_orange

Hi, I'll present a quick and simple implementation of image recoloring, in fact more like color transfer between images, using OpenCV in C++ environment. The basis of the algorithm is learning the source color distribution with a GMM using EM, and then applying changes to the target color distribution. It's fairly easy to implement with …

Continue reading »

Share

May 05

Bust out your own graphcut based image segmentation with OpenCV [w/ code]

GMM clustering using only 100 pixels per cluster for training data

This is a tutorial on using Graph-Cuts and Gaussian-Mixture-Models for image segmentation with OpenCV in C++ environment. Been wokring on my masters thesis for a while now, and the path of my work came across image segmentation. Naturally I became interested in Max-Flow Graph Cuts algorithms, being the "hottest fish in the fish-market" right now …

Continue reading »

Share

Older posts «