Dec 12, 2013

Jugaad Security System

I own a book shop in Nainital and I live in a house just behind (attached to) the shop. As you enter my house there is a cupboard that we use to keep any spare cash (Small amounts that would be sent to the bank the next day) we might have form the day's sale. About 4 months back my mother started to notice money disappearing form the cupboard. First time my mum told me about the issue, I brushed it aside thinking it might have been a calculation error from our side. Then the same thing happened again another 2-3 times. This was more than a coincidence so we stopped using the cupboard for the purpose of keeping any sort of cash but we still did not know who was taking the money. We have a few staff members at our place (all of them had been with us for a considerable amount of time - some of whom had been working at our place for more than 20 years). Since the only people who had any access to the cupboard apart form the family were the staff member we suspected that one of them was up-to something.

We have a CCTV system installed in our shop and we could have easily installed another camera in the house to find out the culprit. This had 2 issues - 1) Who would actually sit down and go through the whole footage? Big waste of time 2) Who would want a surveillance camera inside the house?.

I had recently got 2 DSLRs for a workshop that I will be taking on DIY film-making and since I was currently only using one of them  I decided to put up the second one for finding out who the culprit was. I had a magnetic switch lying around and had a spare 2.5mm cable (from my experiments using an arduino as an intervellometer to capture time-lapse videos). Using just the cable, the magnetic switch attached to the cupboard and some duct tape I rigged up a camera trigger that would click a picture of the cupboard the moment someone opened or closed it. I set the Camera on a table (Nothing too obvious). Manual Focus. High ISO - 12800 (Because the room could get quite dark say when there is no-one there and the lights are turned off). The camera (Canon 600D) batteries last a long time when the LCD is turned off - about 2 days so that was not a problem.

Magnetic Switch

On the third day of the experiment there was a slight rush in the shop and I was busy at the Til. One of the staff members went inside taking advantage of the fact that I was distracted, opened the cupboard hoping to find some money (which was not there as we were not using that system anymore) and the camera got him. I went in for lunch and checked if any pictures was taken since morning and there he was caught in the act. We called the police. Got whatever money he had stolen form us back and fired the guy. Might not have been the most elegant security system but it got the job done. The local police kind of liked the whole idea because it reduced the amount of work they had to do.

Anyway here are the pics for the thief caught in action

DIY Polariscope

A few days ago I was stuck in one of those YouTube loops (happens once a month) and I came across this awesome video on the Prince Rupert's Drop by SmarterEveryDay (Excellent channel BTW). About 3:00 minutes into the video they use something called a Polariscope to check out the stresses built up inside the Prince Rupert's Drop. Watching that I realized that I had all the things needed to build this at home.

You need the following things for creating a Polariscope :

1) A polarized light source (White in color preferably) - Since almost all LCD's use polarized light to display images you could use your iPad or Laptop screen displaying a white image. I went for my 22" monitor as I needed a bigger surface.

2) A transparent object - Not all objects work well for this as some don't really have that much stress. 
          - Things that work well - Glass statues, use and throw forks and knives, glue sticks, etc.
          - Things that don't work well - Soda bottles, plastic OHP sheets, Tupperware, etc.

3) A polarizer - A CPL (Circularly Polarizing) filter works best but you could also use those Throw-away 3D glasses you get at movies or your even your sunglasses. 

4) A camera - DSLR works best but even a phone cam should work I guess.

Setup the items as in the diagram and move around (rotate) the polarizer till the white light from the LCD becomes almost black. and you will see the stresses in the transparent object.

I tried out a few objects I had lying around and here are my results

Photoshop - Human Cloning Project

A few days ago I posted this picture of myself on facebook

Loads of people asked me how I did this so I decided to make step-by-step a tutorial. It is ridiculously easy. I was going to do a video on this but then decided against it as it would have taken a lot longer and currently I don't have that much time at hand. I'm quite busy with the work @ Mistri Labs

Step 1:

Setup your camera. You will need camera where you can set exposure manually (Aperture Priority and Shutter Priority will not work too well in this case as the light will vary was the subject moves in the frame). Most P&S and DSLRs have this feature. Even a decent phone camera should work (You might need to download an extra app to set the manual exposure on your phone). You will need a tripod (or any surface that you can place your cam on if you don't have a tripod).

- Setup the ISO - Don't use auto because the light changes as you move around the room.
- Setup the aperture - For all the people using DSLRs don't go all f/1.8 because you need most of the shot to be in focus. I suggest start at f/7.1 and work around that area.
- Setup the shutter speed that you think gives you the correct exposure.

Now you need to take 3-4  shots (maybe even more depending on what you are creating) of your subject (In my case that was me) from the same vantage point. You camera should not move between shots. I used a timer to shoot these but if you have a friend behind the camera you can ask them to do it - depends on you.

Image 1

Image 2

Image 3

Image 4

Step 2: Open all photos in Photoshop and put them in different layers inside the same composition

Step 3: Select the second layer from the bottom and create a layer mask

Step 4: Keep the second layer from the bottom of the stack selected. Hide all the layers above it using the eye icon. Select brush tool, select the colour black. Paint in the version of your self from the lowest layer in the stack.

Step 5: Repeat Steps 3-4 for each layer and you are done.

Tips :
- Don't do this in areas that change over a short time (Example - in front of a tree as the wind might change the shape of the tree from shot to shot).
- Don't do this in areas that the light changes often (Example at a sunset scene)
- Don't move too much furniture around as you will have to Photoshop those things around. Will waste your own time.
- You could change clothes in between shots to give a more random feel to the image.

Have fun :-)