So its been ages since i last blogged, and i am determined to try do this more regularly since it will probably get me onto doing more stuff!
This is pretty much the first thing i built with the Arduino – the idea was to make a budget IPCam with a web interface that i could connect to from anywhere and have the ability to pan and tilt my camera. Since i was in the budget price range i did also look at what was available off the shelf — and it sucks, bad quality, slow response time, no lose wires to show, all things i’m not really interested in.
I’ve split this into 3 sections just to make sure that this doesnt become a massively long blogpost:
- The Physical Section – the base, stand and circuit
- The Arduino Section – the code to make it do what i want
- The PHP Interface – the web interface to use with the IPCam – soon!
This is that cool part where you watch the video, unfortunately i haven’t got round to making one yet.. but when i do, its going here! For now, its in pictures (the webinterface and the actual device):
So i’ve commented most of the lines and you should be able to easily follow what has happened in the code. Leave a comment if there are any questions :)
Code after the break!
Read more »
So i see its been forever since i have posted anything, figured its about time, and i wanted to show some of the stuff ive done with my Arduino. The first thing i tried to do with it was create my own budget IPCam with a webcam and some arduino parts.
Basic stuff that make up the IPCam:
- 2x Servo Motors
- 1x LCD (16×2)
- 1x LED
- 1x Potentiometer (used for LCD)
- Bits of random Meccano
- 2x Small lifting weights ( hey, we all knew i wouldnt use them to get in shape anyway )
- Tape/Glue/Random stuff
So first off, this is a hack, i havent done pretty much anything properly, i just pieced it together, tied in bits of code and got it working :)
So i figured i’d drop a quick update on what i’ve been messing around with, firstly ZACon II was awesome! I’m really dissapointed i didn’t submit a better talk and get a chance again, however i did win the badge competition and get to make my own cool badge:
Some of the talks i really liked:
- Who can forget Roelof Temminghs talk, especially when one of the sections is “5 things Andrew didn’t implement in his free time” :P
- Ollie Whitehouse on UNCON and how their group runs ( and drinks :P )
- RC1140/Jameel‘s talk on Powershell
- Todor/UKJ‘s talk on DNSSEC ( but really guys 800 requests at once, that needs to be fixed/mitigated first!)
- Ross Simpsons iPhone Hackery ( can’t wait for 4.1 JB to be out )
- Ian de Villiers JAR reversing talk
- Haroon Meer‘s FIG talk :)
Secondly i KNOW i probably should have put up code and stuff for the arduino project i built, basically its a webapp that shows the webcam and allows you to move the cam around. The Arduino is connected to two servo’s to do vertical / horizontal movement, and it can be controlled via the webapp:
Oh yeah, it also lets you send text to an LCD and blink an LED ( but these aren’t nearly as cool ).
So after doing this i wanted to look at motion tracking and see if i could get the camera to automagically follow someone around a room with facial/object recognition, and in the little time i have had to play today it seems easily doable with the likes of OpenCV , so far today ( besides battling c++ – its been over 5 years since I’ve touched the stuff, so there were some issues :P ) I’ve managed to get it to do some pretty cool facial recognition with the Haar classification and the provided definition – haarcascade_frontalface_alt2.xml. I’ve also given it a bit of a window to try move into and it seems to work pretty well. The only issue i saw was that at the default resolution of the camera ( 640×480) it absolutely ATE my 3ghz dual core, so i had to halve the image size and now it works real-time-ish, check out the pic:
I’ve also been playing around with Facebook’s graphAPI and i am hoping to provide some cool new search functionality both to Maltego and as an RSS feed that people can use to monitor what has been said about a specific topic in the public on the social networking giant.
I’ll try start putting out a little more.
p.s. yeah, the mohawks been gone for a month now, now if only i had a new alias that wasn’t taken on the net :)
- BSides Badge Config
- HackFu 2016 Writeup
- Bypassing Rolling Code Systems
- Hacking fixed key remotes with (only) RFCat
- ZaCon V Badge [2/2]: How they work
Not the quickest of cats
on the best of days.
Magnetic Stripes (2)
- December 2016
- June 2016
- February 2016
- August 2015
- April 2014
- January 2014
- November 2013
- October 2013
- March 2013
- January 2013
- December 2012
- September 2012
- July 2012
- May 2012
- April 2012
- February 2012
- November 2011
- October 2011
- September 2011
- August 2011
- June 2011
- April 2011
- March 2011
- February 2011
- January 2011
- November 2010
- October 2010
- September 2010
- March 2010