Log In
Or create an account -> 
Imperial Library
  • Home
  • About
  • News
  • Upload
  • Forum
  • Help
  • Login/SignUp

Index
Title Page Copyright and Credits
Raspberry Pi 3 Cookbook for Python Programmers Third Edition
Dedication Packt Upsell
Why subscribe? PacktPub.com
Contributors
About the authors About the reviewers Packt is searching for authors like you
Preface
Who this book is for What this book covers To get the most out of this book
Download the example code files Download the color images Conventions used
Sections
Getting ready How to do it... How it works... There's more... See also
Get in touch
Reviews
Getting Started with a Raspberry Pi 3 Computer
Introduction
Introducing Raspberry Pi What's with the name? Why Python?
Python 2 and Python 3 Which version of Python should you use? The Raspberry Pi family – a brief history of Pi Which Pi to choose?
Connecting to Raspberry Pi
Getting ready How to do it... There's more...
Secondary hardware connections
Using NOOBS to set up your Raspberry Pi SD card
Getting ready How to do it... How it works... There's more...
Changing the default user password Ensuring that you shut down safely Preparing an SD card manually Expanding the system to fit in your SD card Accessing the RECOVERY/BOOT partition Using the tools to back up your SD card in case of failure
Networking and connecting your Raspberry Pi to the internet via an Ethernet port, using a CAT6 Ethernet cable
Getting ready How to do it... There's more...
Using built-in Wi-Fi and Bluetooth on Raspberry Pi
Getting ready How to do it...
Connecting to your Wi-Fi network Connecting to Bluetooth devices
Configuring your network manually
Getting ready How to do it... There's more...
Networking directly to a laptop or computer
Getting ready How to do it... How it works... There's more...
Direct network link
See also
Networking and connecting your Raspberry Pi to the internet via a USB Wi-Fi dongle
Getting ready How to do it... There's more...
Using USB wired network adapters
Connecting to the internet through a proxy server
Getting ready How to do it... How it works... There's more...
Connecting remotely to Raspberry Pi over the network using VNC
Getting ready How to do it... There's more...
Connecting remotely to Raspberry Pi over the network using SSH (and X11 forwarding)
Getting ready How to do it... How it works... There's more...
Running multiple programs with X11 forwarding Running as a desktop with X11 forwarding Running Pygame and Tkinter with X11 forwarding
Sharing the home folder of Raspberry Pi with SMB
Getting ready How to do it...
Keeping Raspberry Pi up to date
Getting ready How to do it... There's more...
Dividing Text Data and Building Text Classifiers
Introduction Building a text classifier
How to do it... How it works... See also
Pre-processing data using tokenization
How to do it...
Stemming text data
How to do it...
Dividing text using chunking
How to do it...
Building a bag-of-words model
How to do it...
Applications of text classifiers
Using Python for Automation and Productivity
Introduction Using Tkinter to create graphical user interfaces
Getting ready How to do it... How it works...
Creating a graphical application – Start menu
Getting ready How to do it... How it works... There's more...
Displaying photo information in an application
Getting ready How to do it... How it works... There's more...
Organizing your photos automatically
Getting ready How to do it... How it works...
Predicting Sentiments in Words
Building a Naive Bayes classifier
How to do it... See also
Logistic regression classifier
How to do it...
Splitting the dataset for training and testing
How to do it...
Evaluating the accuracy using cross-validation
How to do it...
Analyzing the sentiment of a sentence
How to do it...
Identifying patterns in text using topic modeling
How to do it...
Applications of sentiment analysis
Creating Games and Graphics
Introduction Using IDLE3 to debug your programs
How to do it... How it works...
Drawing lines using a mouse on Tkinter Canvas
Getting ready How to do it... How it works...
Creating a bat and ball game
Getting ready How to do it... How it works...
Creating an overhead scrolling game
Getting ready How to do it... How it works...
Detecting Edges and Contours in Images
Introduction Loading, displaying, and saving images
How to do it...
Image flipping
How to do it...
Image scaling
How to do it...
Erosion and dilation
How to do it...
Image segmentation
How to do it...
Blurring and sharpening images
How to do it...
Detecting edges in images
How to do it... How it works... See also
Histogram equalization
How to do it…
Detecting corners in images
How to do it...
Creating 3D Graphics
Introduction Getting started with 3D coordinates and vertices
Getting ready How to do it... How it works... There's more...
Camera Shaders Lights Textures
Creating and importing 3D models
Getting ready How to do it... How it works... There's more...
Creating or loading your own objects Changing the object's textures and .mtl files Taking screenshots
Creating a 3D world to explore
Getting ready How to do it... How it works...
Building 3D maps and mazes
Getting ready How to do it... How it works... There's more...
The Building module Using SolidObjects to detect collisions
Building Face Detector and Face Recognition Applications
Introduction Building a face detector application
How to do it...
Building a face recognition application
How to do it... How it works... See also
Applications of a face recognition system
Using Python to Drive Hardware
Introduction Controlling an LED
Getting ready How to do it... How it works... There's more...
Controlling the GPIO current
Responding to a button
Getting ready
Trying a speaker or headphone with Raspberry Pi
How to do it... How it works... There's more...
Safe voltages Pull-up and pull-down resistor circuits Protection resistors
A controlled shutdown button
Getting ready How to do it... How it works... There's more...
Resetting and rebooting Raspberry Pi Adding extra functions
The GPIO keypad input
Getting ready How to do it... How it works... There's more...
Generating other key combinations Emulating mouse events
Multiplexed color LEDs
Getting ready How to do it... How it works... There's more...
Hardware multiplexing Displaying random patterns Mixing multiple colors
Writing messages using persistence of vision
Getting ready How to do it... How it works...
Sensing and Displaying Real-World Data
Introduction Using devices with the I2C bus
Getting ready How to do it... How it works... There's more...
Using multiple I2C devices I2C bus and level shifting Using just the PCF8591 chip or adding alternative sensors
Reading analog data using an analog-to-digital converter
Getting ready How to do it... How it works... There's more...
Gathering analog data without hardware
Logging and plotting data
Getting ready How to do it... How it works... There's more...
Plotting live data Scaling and calibrating data
Extending the Raspberry Pi GPIO with an I/O expander
Getting ready How to do it... How it works... There's more...
I/O expander voltages and limits Using your own I/O expander module Directly controlling an LCD alphanumeric display
Capturing data in an SQLite database
Getting ready How to do it... How it works... There's more...
The CREATE TABLE command The INSERT command The SELECT command The WHERE command The UPDATE command The DELETE command The DROP command
Viewing data from your own webserver
Getting ready How to do it... How it works... There's more...
Security Using MySQL instead
Sensing and sending data to online services
Getting ready How to do it... How it works... See also
Building Neural Network Modules for Optical Character Recognition
Introduction Visualizing optical characters
How to do it...
Building an optical character recognizer using neural networks
How to do it... How it works... See also
Applications of an OCR system
Building Robots
Introduction Building a Rover-Pi robot with forward driving motors
Getting ready How to do it... How it works... There's more...
Darlington array circuits Transistor and relay circuits Tethered or untethered robots Rover kits
Using advanced motor control
Getting ready How to do it... How it works... There's more...
Motor speed control using PWM control Using I/O expanders
Building a six-legged Pi-Bug robot
Getting ready How to do it... How it works...
Controlling the servos The servo class Learning to walk The Pi-Bug code for walking
Controlling servos directly with ServoBlaster
Getting ready How to do it... How it works...
Using an infrared remote control with your Raspberry Pi
Getting ready How to do it... There's more...
Avoiding objects and obstacles
Getting ready How to do it... How it works... There's more...
Ultrasonic reversing sensors
Getting a sense of direction
Getting ready How to do it... How it works... There's more...
Calibrating the compass Calculating the compass bearing Saving the calibration Driving the robot using the compass
Interfacing with Technology
Introduction Automating your home with remotely controlled electrical sockets
Getting ready How to do it... How it works... There's more...
Sending RF control signals directly Extending the range of the RF transmitter Determining the structure of the remote control codes
Using SPI to control an LED matrix
Getting ready How to do it... How it works... There's more...
Daisy-chain SPI configuration
Communicating using a serial interface
Getting ready How to do it... How it works... There's more...
Configuring a USB-to-RS232 device for Raspberry Pi RS232 signals and connections Using the GPIO built-in serial pins The RS232 loopback
Controlling Raspberry Pi using Bluetooth
Getting ready How to do it... How it works... There's more...
Configuring Bluetooth module settings
Controlling USB devices
Getting ready How to do it... How it works... There's more...
Controlling similar missile-type devices Robot arm Taking USB control further
Can I Recommend a Movie for You?
Introduction Computing the Euclidean distance score
Getting ready How to do it... How it works... There's more... See also
Computing a Pearson correlation score
How to do it... How it works... There's more... See also
Finding similar users in the dataset
How to do it... See also
Developing a movie recommendation module
How to do it... See also
Applications of recommender systems
Hardware and Software List
Introduction General component sources
General electronic component retailers Makers, hobbyists, and Raspberry Pi specialists
The hardware list
Chapter 1 Chapters 2 – Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14
The software list
PC software utilities Raspberry Pi packages
Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14
There's more...
APT commands Pip Python package manager commands
Other Books You May Enjoy
Leave a review - let other readers know what you think
  • ← Prev
  • Back
  • Next →
  • ← Prev
  • Back
  • Next →

Chief Librarian: Las Zenow <zenow@riseup.net>
Fork the source code from gitlab
.

This is a mirror of the Tor onion service:
http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion