sudo add-apt-repository ppa:gnome3-team/gnome3 sudo apt-get update sudo apt-get dist-upgrade sudo apt-get install gnome-shell
Open Source, Embedded Systems, Computer Vision, Computational Photography, Self-Improvement
Monday, June 20, 2011
Install GNOME 3 on Ubuntu 11.04
Open the terminal and run the following commands
Thursday, June 16, 2011
Syntax Highlighting Added
Thanks to this post, I now use syntax highlighting:
http://practician.blogspot.com/2010/07/color-my-world-syntax-highlighter.html
Original code for WordPress from Alex Gorbatchev is here and description is here.
Hope you like it.
http://practician.blogspot.com/2010/07/color-my-world-syntax-highlighter.html
Original code for WordPress from Alex Gorbatchev is here and description is here.
Hope you like it.
Friday, June 10, 2011
Wednesday, June 1, 2011
Paper Review: Histograms of Oriented Gradients for Human Detection. Navneet Dalal and Bill Triggs
Thanks to Joel Andres Granados, PhD student in the IT University of Copenhagen. You saved me some effort! http://joelgranados.wordpress.com/2011/05/12/paper-histograms-of-oriented-gradients-for-human-detection/
Approach:
Approach:
- First you calculate the gradients. They tested various ways of doing this and concluded that a simple [-1,0,1] filter was best. After this calculation you will have a direction and a magnitude for each pixel.
- Divide the angle of direction in bins (Notice that you can divide 180 or 360 degrees). This is just a way to gather gradient directions into bins. A bin can be all the angles from 0 to 30 degrees.
- Divide the image in cells. Each pixel in the cell adds to a histogram of orientations based on the angle division in 2. Two really cool things to note here:
- You can avoid aliasing by interpolating votes between neighboring bins
- The magnitude of the gradient controls the way the vote is counted in the histogram
- Note that each cell is a histogram that contains the “amount” of all gradient directions in that cell.
- Create a way to group adjacent cell histograms and call it a block. For each block (group of cells) you will “normalize” it. Papers suggests something like v/sqrt(|v|^2 + e^2). Note that V is the vector representing the adjacent cell histograms of the block. Further not that || is the L-2 norm of the vector.
- Now move through the image in block steps. Each block you create is to be “normalized”. The way you move through the image allows for cells to be in more than one block (Though this is not necessary).
- For each block in the image you will get a “normalized” vector. All these vectors placed one after another is the HOG.
Comments:
- Awesome idea: The used 1239 pedestrian images. The SVM was trained with the 1239 originals and the left-right reflections. This is so cool on so many levels. Of course!! the pedestrian is still a pedestrian in the reflection image. And this little trick give double the information to the SVM with no additional storage overhead.
- They created negative training images from a data base of images which did not contain any pedestrians. Basically randomly sampled those non-pedestrian images and created the negative training set. They ran the non-pedestrian images on the resulting classifier in look for false-positives and then added these false-positives to the training set.
- A word on scale: To make detection happen they had to move a detection window through the image and run the classifier on each ROI. They did this for various scales of the image. We might not have to be so strict with this as all the flowers are going to be within a small range from the camera. Whereas pedestrians can be very close or very far from the camera. The point is that the pedestrian range is much larger.
- A margin was left in the training images. of 4 pixels.
Thursday, May 5, 2011
Simple C program that will crash any server
This is very simple C program, if executed, will defenately crash the server
Open Vi editor and type/copy the following lines
Save the file with any name, something like ... crash.c
Compile it: gcc crash.c
run it: ./a.out
And see your server crash.
Open Vi editor and type/copy the following lines
main() { while(1) { fork(); } }
Save the file with any name, something like ... crash.c
Compile it: gcc crash.c
run it: ./a.out
And see your server crash.
Wednesday, April 27, 2011
HoG for Hand Gestures
In the Sonic Gesture project by Gijs Molinaar, hand gestures are detected by vision and converted into sound. The source code is derived from the OpenCV code by Saurabh Goyal. Link to source code is here.
Monday, April 25, 2011
Processing language comes with Image Processing Libraries
Processing is an open source programming language and environment for people who want to create images, animations, and interactions.
- Processing main page: downloads, documentation, examples.
- Integral Histogram library for Processing.
- Histogram of Oriented Gradients library for processing.
Labels:
hog,
image processing,
integral histogram,
processing
Subscribe to:
Posts (Atom)