Fetch facebook large profile picture using Javascript SDK

While developing an facebook app – AWESOME PICS, I came to know that facebook doesn give access to the bigger profile picture of an user directly. I mean there is no easy way like http://graph.facebook.com//picture?type=large. Thus if you are working on an app which uses large pictures, you might fetch the larger profile pic in the following ways. I know its tedious. But as of now these are the only ways available.

I am using Javascript SDK here.

Continue reading

Removing IR filter from webcam and installing IR bandpass filter Tutorial

I have been using webcams to track Infra Red (IR) for 3 projects till now. I use Unibrain for the Multitouch table which gives upto 100 fps, but the problem with unibrain is that you need to have a Firewire 1394 (6 pin) port in your system. All macs have it by default. New laptops comes with 1394 (6 pin) port post these days. Any ways my bad luck, my lappi doesn have one. Thus I use this ismart webcam which I purchased in the local market (Ahmedabad, India) for Rs. 500 (~ $10) for testing and initial prototypes.

For my project, firstly I need my webcam to see the IR, thus I have to remove the IR filter which comes inbuilt with the webcam. In some webcams (Logitech Quick cam – old model) its a separate piece of glass which can be easily removed. In some webcams the IR filter will be embedded into the lens module. Thus you got to break it carefully and its a irreversible process. Secondly I don’t want my webcam to see any thing apart from the IR (i.e. visible spectrum). There are many ways to achieve this. Many have suggested using developed photo negative but believe me guys… I have tried it. it isn’t that accurate. If you are a professional and need perfect cut off of all the visible rays, you need to buy an IR bandpass filter specific to the wavelength of the IR you would like to see through. In my case I have a 850nm bandpass filter which I will be installing in the webcam. Thus in this tutorial I will be explaining,

1. How to remove the IR filter from a webcam (iSmart).

2. How to install a new IR bandpass filter.

Continue reading