Archive

Archive for the ‘Uncategorized’ Category

NYT’s Tricky Images

August 4th, 2010

Here’s a cute trick the nyt uses for their slideshows to prevent users from saving images locally (Note: I am not encouraging this). If a user right clicks an image and selects “save as…” the image which gets saved is pixel.gif, which is garbage (example here). By viewing the page source, we can figure out why that happens:

<div class="figure module">
<div class="image">
<div class="centeredElement" style="background-image:
     url('http://graphics8.nytimes.com/images/2010/08/04/
     arts/design/04maker-ss-slide-GSQJ/04maker-ss-slide-
     GSQJ-slide.jpg');width:333px; height:500px;">
<img width="333" height="500" src="<a href=
     "view-source:http://graphics8.nytimes.com/images/
     misc/pixel.gif">http://graphics8.nytimes.com/images/
     misc/pixel.gif</a>" />

The image we want is the background, covered by pixel.gif. Tricky.

Uncategorized

e-puck Robot Lead/Follow

May 11th, 2010

A leader/follower scheme with obstacle avoidance using e-puck educational robots.

YouTube here: Video

Paper here: e-puck Leader/Follower Final Paper

Uncategorized

LSB Encoding/Decoding

May 5th, 2010

Added a new project: Least Significant Bit (LSB) Encoding and Decoding. By changing the least significant bit of each byte in an image (B&W), its possible to encode an invisible string of text into the image. Check out ways to break it in the code :-P

Code and paper under “Projects” section.

Uncategorized

New Sections

January 6th, 2010

I added a “Restaurants” section from my google doc and a “Projects” section — updates there!

Uncategorized

Karmic Koala!

October 19th, 2009

The Robot is getting smarter…

April 18th, 2009

Now it can find goal posts! And its supposed to be able to shoot the ball into the goal… that is, after it finds the ball and the posts and lines up properly, which is proving to be tricky…


We convert the RGB picture it takes into YUV, and then analyze that, so it filters the color of the tennis ball better. Then, we use this awesome time-saving library called CCAnalysis to find the middle of the posts and the ball, we turn until the ball is inbetween the posts, and then… we shoot!!

Uncategorized

1st problem with blogger

March 3rd, 2009

It won’t let me put my birthday as 2/29! It says its an “invalid date”…

Uncategorized

hey

March 3rd, 2009

So maybe I’ll start weblogging about what I do 10 hours/day…. play with computers! Google thinks weblogging is spelled wrong, and suggests “we blogging, backlogging and flogging” but recognizes its abbreviation — blogging!

Uncategorized