Showing posts with label scientific python. Show all posts
Showing posts with label scientific python. Show all posts

Monday, 15 October 2012

Why I Love Python....



        Out of 3 program loving nerds  you will find 1 who knows Python !! ..that's not an exaggeration ..a fact seen by me. When i was getting familiar with python I realized why its so popular and it's demanding among other versatile programming languages.

      I would like to say the first and highlighted benefit of Python Coding is that it Upholds The Basic Principle Of Internet = "Effective Sharing" . You heard it well!!..Python is on a open source platform..anyone can develop..anyone can share..anyone can contribute to the growth. Yeah, via python you can share the codes/program effectively among other users and programmers. This is because Python emphasizes on readability of the program. Instead of braces and all...it demands indentation.


                                 In other programming languages most of the lazy programmers keep indentation part at  last. Gradually laziness will put that part into trash..leading to the readability of the code restricted to only the creator..and that too with a time concern. After more than 6 months, when you take the program without any indentation or documentation you will have to lie on it for going back to the memories and some times you will end up in a big failure..atleast your time will be eaten because of your laziness at the time of creation. So this kinda programming will lead to restricted understanding of your program to other people. That's a big minus sign when it comes in sharing  and developing some wanna be code using multiple brains.

                                As a guardian Python makes our last worthy option into parallel one. While coding it parallely emphasizes on indentation instead of braces, semicolons etc. leading to  code which can be shared into multiple brains and can use the same for building up the mega program.

                Personally one more thing I have to point out in Python is that I don't waste time or struggle in specifying the type of variable and declaration. It's as simple as if am gonna make a Egg then i have to concentrate in the formation and shape of egg only. I don't want to waste time for specifying that the Egg is in solid form, it's made of calcium carbonate and the blah blah matter because the language understands automatically.

        Out of all these, I have to say one globally defining statement for python "Object oriented Scripting Language".  Python's development is taken care by a non profit organisation Python Software Foundation(PSF). Guido Van Rossum is the father of Python.

        Python is enriched by so many libraries like Open Cv..all the image enhancing libraries plus all kinda object/hardware controlling libraries like Pymouse (As the name says, mouse controlling library). With it's enrichment in efficiency, readability  library support etc It is being used in almost all fields..mobile apps, websites,  artificial intelligence etc.

Monday, 1 October 2012

Gesture Mouse - The Core Program in Sixth Sense




                   
Gesture recognition is a language technology with the goal of interpreting human gestures via mathematical algorithms. Gestures can originate from any bodily motion or state but commonly originate from the face or hand. Current focuses in the field include emotion recognition from the face and hand gesture recognition. Many approaches have been made using cameras and computer vision algorithms to interpret sign language. However, the identification and recognition of posture, gait, proxemics, and human behaviors is also the subject of gesture recognition techniques. “GESTURE MOUSE” is an invisible computer mouse that provides the acquaintance of interface of a physical mouse without actually needing a real hardware mouse. As we improve our computer vision algorithms, an extensive library of gestures could be implemented in addition to mouse movement and mouse clicks.


         Gesture recognition can be seen as a way for computers to begin to understand human body language, thus building a richer bridge between machines and humans than primitive text user interfaces or even GUIs (graphical user interfaces), which still limit the majority of input to keyboard and mouse. The proposed gesture mouse system consists of a camera to obtain the video and frames of the hand and a CPU for processing the video. The gesture recognition algorithms are quiet complex. A number of contending software tools can be used to implement Gesture recognition. The prospective candidates are MATLAB and Scientific Python (SciPy). Python has the advantage of better interfacing with system level operation, better memory management and efficiency over MATLAB. It was identified to use SciPy with OpenCV library for implementing Gesture Mouse.
     


         Gesture  Mouse  project got  it’s origin  under  the motivation  of  Pranav Mistry’s  Sixth Sense.  So  this is a part of  the big  project done  by Pranav Mistry with  5 years  effort. User  requirement   of  this  project is world  wide.  Sixth Sense is  a  wearable gestural interface that augments the physical world  around us  with digital information  and  lets us use natural hand gestures to interact with that  information. The main purpose of our project is to replace the hardware mouse with the gesture mouse. In gesture mouse we use our hand gestures to employ the mouse functions.