Raspberry Pi camera of the image processing installation + Configuration Tutorial

Raspberry Pi camera of the image processing installation + Configuration Tutorial

  • This paper briefly talk about how to install the Raspberry Pi camera, as well as some configuration and simple to use

  • There is a special reserved camera module interface board to send raspberry: CSI (Camera Serial Interface). Note CSI Raspberry Pi is not unique, but rather an interface to MIPI (Mobile Industry Processor Interface Alliance) defined constraints for mobile phone and camera connectivity and communication norms

Camera module ready

  • My hand this should be the official release of the camera, with 500 million pixels (pixel maximum resolution of 2592 x1944 pixels) CMOS sensor, at least 30FPS support 1080P HD video recording, 15-pin connection cord, compact, about 25mm x 24mm x 9mm, very light, a few grams like this

image description

installation

  • And you can refer to the following video tutorial screenshot https://www.bilibili.com/video/av22636134/

  • First Raspberry Pi shutdown, found that CSI port, install the following points in several steps

  • Unlike the snap against the board that can be opened, and unlike the vertical memory that automatically latching slot, the slot CSI need to pull out the snap upwardly, must remember gentle, and space narrow, finger not have space available toothpick slowly pick

  • After snap loose, the cable is inserted, is inserted to the bottom note outlet direction, it has towards the opposite contact of metal snap

  • Hold the flexible flat cable, press buckle, ensure that the metal edge of the slot is parallel to the edge line

Set up

  • After the installation is complete, raspberries come to power, set to begin

  • The first is to update the camera driver, the new system may not, but still it is a good update


sudo apt-get update

sudo apt-get upgrade
  • After the update finished, you need to enable, in two ways, need to be restarted to take effect after setting up

  • The first is the command line, perform the sudo raspi-configopen configuration, select Interfacing Options, and then find Cameraand select Activate to

  • The second is a direct connection vnc up, click on the icon Raspberry Pi -> Preferences -> Configuration -> Interface -> camera enabled -ok restart

  • After the restart to see whether the device is mounted successfully, ls -l /dev/ | grep videosee video0 Mount recognition for success

use

Screen Capture

  • Use raspistillspecial command, which may not apply to usb camera, the need to install and usesudo apt-get install uvccapture

  • raspistillIs integrated in the system, can be used directly, run raspistill -o h.jpgto successfully capture the output and save more parametersraspistill --help | more

Record video

  • Performing raspivid -o v.h264 -t 5000, recording 1080p video length 5 seconds, after the H264 video MPEG4 compression format, high data compression ratio. Double-click the desktop environment can direct video playback, or perform desktop environmentomxplayer v.h264

At last

  • This article tutorial on here, raspberry pie video streams, as well as how to control the camera and simple image processing, to stay next to speak through a network acquisition

  • OPERATION need a lot of hands-on practice, experience every detail, and tutorials may differ slightly from the actual hardware and software you

Guess you like

Origin www.cnblogs.com/xxred/p/11993290.html