This talk aims at novices in Python programming. It provides resources and useful advice on how to get started with Python and keep going to move beyond novice to master.
Offered by Rice University • 1st part of 3-‐course offering on “Fundamentals of CompuNng” • Weekly quizzes and mini projects • Features CodeSkulptor (codeskulptor.org) to run Python programs in your browser (all browsers except IE)
meetup • ADend a Community workshop • Check out a Python forum • Look at stackoverflow • ADend a conference J • Join an IRC Channel • Check out hDps://www.python.org/community/
code • Contribute to the community • Contribute to the Python codebase • Answer Stack Overflow quesNons about Python • Embrace unit tesNng • Master regular expressions • Get familiar with PyPi (Python Package Index)
and OpenCV for crowd analyNcs in images • Currently using facial detecNon for esNmaNng count • Images are very high resoluNon and Nle based Usage Scenarios • AutomaNcally count the total number of people found in images of crowds • Analyze pedestrian traffic for retail or transportaNon in a given area • Detect demographics such as gender or age esNmates (very hard) Tools and Libraries • Python 2.7.8 • OpenCV 2.4.9 • Python Package: cv2 Using Python with Computer Vision
• Run Python on embedded devices for creaNve soluNons • Use Python to interface with embedded microcontrollers • Run modified versions of Python on microcontrollers Scenarios • Example 1: Use Python to control the new Arduino 3D Printer • Example 2: Build a “smart lock” using Raspberry Pi and Python • Example 3: Use Python to collect data from a thermal sensor Useful Components • Hardware: Raspberry PI, Arduino, GumsNx • Packages: PySerial, cv2, etc. • Python ImplementaNons: Python, PyMite, Tiny Python Arduino Microcontroller Raspberry PI with Camera Using Python with Computer Vision