Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

bimalka98/Computer-Vision-with-Raspberry-Pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔴 Computer Vision with Raspberry Pi

OpenCV Raspberry Pi
Raspberry Pi Logo OpenCV Logo
The Raspberry Pi (RPi) is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries. Official Link: Raspberry Pi Homepage OpenCV is a library of programming functions mainly aimed at real-time computer vision. Originally developed by Intel, it was later supported by Willow Garage then Itseez. The library is cross-platform and free for use under the open-source Apache 2 License. Source Repository

🔴 Getting Started Guide

  1. Remotely access the RPi Desktop using VNC viewer.
Click here, if you do not know how to do it.

Accessing the Rpi through the command prompt for the first time(with Rpi OS installation)

Watch these videos first to know how to install rpi OS and configure the pi to autoconnect to the local wifi network at booting

  1. Open command prompt and type following commands.

Input

bimalka98@DEVICE:~$ ssh pi@rpibimalka98
The authenticity of host 'rpibimalka98 (192.168.8.102)' can't be established.
ECDSA key fingerprint is SHA256:DHkDrtlf2nwgWS9F0yofVPDFauFG7fqVtH6p2SQTmQE.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'rpibimalka98,192.168.8.102' (ECDSA) to the list of known hosts.
pi@rpibimalka98's password: YOUR_PASSWORD_HERE

Output

Linux rpibimalka98 5.10.92-v7+ #1514 SMP Mon Jan 17 17:36:39 GMT 2022 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Jan 28 07:01:06 2022

Input

# Initializing the VNC server inside the pi
pi@host:~ $ vncserver

Output

VNC(R) Server 6.7.2 (r42622) ARMv6 (May 13 2020 19:34:20)
Copyright (C) 2002-2020 RealVNC Ltd.
RealVNC and VNC are trademarks of RealVNC Ltd and are protected by trademark
registrations and/or pending trademark applications in the European Union,
United States of America and other jurisdictions.
  .
  .
  .
New desktop is rpibimalka98:2 (192.168.x.xxx:x)
  1. Now open VNC viewer and type the server's ip produced by the above last command! -> 192.168.x.xxx:x

  2. Provide the login credentials when asked - username: pi - password: YOUR_PASSWORD_HERE

  3. That's it. You are in!


  1. Open the terminal and change the directory to Desktop.
  2. Install git on the RPi & Clone this repository.
pi@host:~/Desktop $ sudo apt-get install git
pi@host:~/Desktop $ git clone https://github.com/bimalka98/Computer-Vision-with-Raspberry-Pi.git
  1. Get into the cloned repository.
pi@host:~/Desktop $ cd Computer-Vision-with-Raspberry-Pi/
  1. Give execution permission to the shell script.
pi@host:~/Desktop/Computer-Vision-with-Raspberry-Pi $ chmod +x setup.sh
  1. Run the shell script and wait until it finishes its job.
pi@host:~/Desktop/Computer-Vision-with-Raspberry-Pi $ ./setup.sh
  1. Connect a USB camera/ RPi camera to the RPi.
  2. Change directory to /Application/bin/.
pi@host:~/Desktop/Computer-Vision-with-Raspberry-Pi $ cd Application/bin/
  1. Run the executable, and check whether it really detects faces.
pi@host:~/Desktop/Computer-Vision-with-Raspberry-Pi/Application/bin $ ./face_detection

🔴 A curated list of awesome Raspberry Pi tools, projects, images and resources

https://github.com/thibmaek/awesome-raspberry-pi