A recipe-based guide to programming your Raspberry Pi 3 using Python
Raspberry Pi 3 Cookbook for Python Programmers – Third Edition begins by guiding you through setting up Raspberry Pi 3, performing tasks using Python 3.6, and introducing the first steps to interface with electronics. As you work through each chapter, you will build your skills and apply them as you progress. You will learn how to build text classifiers, predict sentiments in words, develop applications using the popular Tkinter library, and create games by controlling graphics on your screen. You will harness the power of a built in graphics processor using Pi3D to generate your own high-quality 3D graphics and environments.
You will understand how to connect Raspberry Pi’s hardware pins directly to control electronics, from switching on LEDs and responding to push buttons to driving motors and servos. Get to grips with monitoring sensors to gather real-life data, using it to control other devices, and viewing the results over the internet. You will apply what you have learned by creating your own Pi-Rover or Pi-Hexipod robots. You will also learn about sentiment analysis, face recognition techniques, and building neural network modules for optical character recognition.
Finally, you will learn to build movie recommendations system on Raspberry Pi 3.
What You Will Learn Learn to set up and run Raspberry Pi 3 Build text classifiers and perform automation using Python Predict sentiments in words and create games and graphics Detect edges and contours in images Build human face detection and recognition system Use Python to drive hardware Sense and display real-world data Build a neural network module for optical character recognition Build movie recommendations system
Table of Contents 1: GETTING STARTED WITH A RASPBERRY PI 3 COMPUTER 2: DIVIDING TEXT DATA AND BUILDING TEXT CLASSIFIERS 3: USING PYTHON FOR AUTOMATION AND PRODUCTIVITY 4: PREDICTING SENTIMENTS IN WORDS 5: CREATING GAMES AND GRAPHICS 6: DETECTING EDGES AND CONTOURS IN IMAGES 7: CREATING 3D GRAPHICS 8: BUILDING FACE DETECTOR AND FACE RECOGNITION APPLICATIONS 9: USING PYTHON TO DRIVE HARDWARE 10: SENSING AND DISPLAYING REAL-WORLD DATA 11: BUILDING NEURAL NETWORK MODULES FOR OPTICAL CHARACTER RECOGNITION 12: BUILDING ROBOTS 13: INTERFACING WITH TECHNOLOGY 14: CAN I RECOMMEND A MOVIE FOR YOU?