Finally I did a ‘project’
I have been going on enchanting about too many projects ..
Panorama, PCSuite , image2Muzik , Circuit maker , Audio broadcasting , and what not .. I was rocking with projects ..
Finally I could be proud of having something called list of projects ,but what use .. You can have a satisfaction over your code if you can derive that to an applicable field . Finally I got that feel from my midnight oil ..
A ‘video conferencing’ in 50 lines .. Again credit goes to python ..
We made it .. I was alone for the coding part (still it worked)..
A server sends streaming audio and video through two different threads and sockets which is accepted by client code running at the other end of lan .That is the design .
I will upload this whole set of 7 projects we did to chipmonks.co.in/projects in short .
Minimum lines coding revolution by python ..howz the heading .. ![]()
For instance this is my audio_client.py
Panorama factory in 59 lines
‘ Hail python the goddess of code ‘
Panorama of python’s victory of fast coding continues .. This time its a panorama factory, the art of making wide pictures, got done with python ..As usual necessity brought the idea . This was related to one of my classmate – fasil’s project idea .. Me being interested in python took it for a challenge as usual but stopped just with this code and shot my usual final statement : “hmm ! I think its better than more ..”
What is panorama ?
Unnaturally wide pictures could be made by joining pictures end to end .. This is known as panorama pic ..
Definition royalty goes for me
joining this pictures end to end requires care .. You have to find out the maximum matching position before you join pictures to ensure panoramic view ..Here I am attaching a 60 line code which converts pic1.jpg and pic2.jpg to a single finpic.jpg by normalising the match .. It is just a play with the code I know . But it could be useful ..
Last time when I posted about a project done in few lines python code , some of my friend asked me the code and I need to send it .. So this time I remind myself to start the habit of attaching code here ..
Panorama maker :
(python code to join pictures breadth wise)
File : proj_23.py
converts : pic1.jpg and pic2.jpg to finpic.jpg
(You can make it in a loop for doing a panorama using webcam )
Requirements :
- Python interpreter
- Python imaging library
Yeah !! Python wins again..
Here is another instance where python won .. We (me,sree,reshma n surya) were behind a project to make audio from musical notes ..Oh ! God ..what a coincidence – song chakde played next when I was writing this post ..It says ‘kuch kariye kuch kariye ..’
..
It was really amusing to see audio played when a picture with musical note was dragged to our python code (Eventhough it is not real time .. Actually Musical notes need to be played with time duration set for eaxh note .. Can some one help me in that ?..)
I am a person with no relation with musical notes and even music, except that I enjoy it .. I did the recognition part and made audio from it , the rest is left to sree ( Our sreeraj ..He is a guitarist ) . Now I know it is not possible to give life to music without knowing it ..
Anyway it took only 101 lines (for the main file) in python .. I will say it is doing almost same as the work of big OCR softwares ..See the accuracy of detecting the circles in the picture below ..(crosses are marked by the software)
A line follower ..
I happened to see some videos in youtube about MOBO 2007 contest conducted by organisation of robots for line following bots..
Amazing .. But what I noticed was very few of them followed a line correctly …But some where making it even for multilines and curves ..
Between I would like to announce here that some our classmates(sajitha and team) have successfully completed a line following robot . It is working for all angles above 90 degree and even curves ..I was thinking of my old friend’s words . “They(foreigners) have money and hard work but no brain power .. We(Indians) have only brain power . What to do ? Flee out from India” -David Sir . (He is a traveller and talker .. He might not be remembering me . He is now just a travel agency owner losing all his buses )
Whenever we start a robot we’ll be stuck at the body arrangement .The alignment of the wheels is an imporatant thing which we won’t notice . Last time when we made one the same problem made us look for a ready-made body .Anyway its awesome to have a slave for us .Better ,when it is a robot .

Between I can’t find any atmega 8 burning circuits in internet eventhough we can do it using the same configurationss as atmega 16 . For my own better access I am uploading one here ..
Dairy science need me ?
Hey ,
This time I am not in search of fortunes ..Let them catch me .
This post is just to boast over a project I have done to solve an LPP problem ..Despite it’s simplicity it was specific with its utility in a particular branch of engineering: dairy science
Here goes the details ..
Aim was to formulate an ice-cream mix.. Even though it was a help for one my friends , I enjoyed it since I did it in python ..
py2exe ’s version compatible to python 2.5(recent release) helped me to deploy it as a single file ..Even when I preach open source , at times I need to stand for the momentary needs ..Anyway I was not confused to choose free software when my friend asked me not to disclose my code there at submission.
But atlast I was happy to hear about my software working in front of so many people who I haven’t met yet ..But it (my code) got used to them so easily !!
The final version Icrecream mix formulation has been hosted at our idea seller
This makes me remember our first software deployment at newbharat..Ah let that be in some other post ..
-
Archives
- March 2009 (2)
- February 2009 (3)
- January 2009 (1)
- December 2008 (3)
- October 2008 (1)
- August 2008 (8)
- July 2008 (6)
- June 2008 (1)
- May 2008 (9)
- April 2008 (2)
- March 2008 (1)
-
Categories
-
RSS
Entries RSS
Comments RSS





