GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Qengineering/Install-OpenCV-Raspberry-Pi-64-bits: OpenCV 4.11 installation scripts for Raspberry Pi with 64-bit OS

BranchesTags
Open more actions menu

Latest commit

 

History

107 Commits
107 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
OpenCV-4-10-0.sh
OpenCV-4-10-0.sh
 
 
OpenCV-4-11-0.sh
OpenCV-4-11-0.sh
 
 
OpenCV-4-12-0.sh
OpenCV-4-12-0.sh
 
 
OpenCV-4-13-0.sh
OpenCV-4-13-0.sh
 
 
OpenCV-4-14-0.sh
OpenCV-4-14-0.sh
 
 
OpenCV-4-5-0.sh
OpenCV-4-5-0.sh
 
 
OpenCV-4-5-5.sh
OpenCV-4-5-5.sh
 
 
OpenCV-4-6-0.sh
OpenCV-4-6-0.sh
 
 
OpenCV-4-7-0.sh
OpenCV-4-7-0.sh
 
 
OpenCV-4-8-0.sh
OpenCV-4-8-0.sh
 
 
OpenCV-4-9-0.sh
OpenCV-4-9-0.sh
 
 
README.md
README.md
 
 

Repository files navigation

Install-OpenCV-Raspberry-Pi-64-bits

output image

OpenCV installation script for a Raspberry Pi with 64-bits OS (Buster, Bullseye, Bookworm)

License

This is the full setup of OpenCV for the Raspberry Pi 64-bits.
For more information see Q-engineering - Install OpenCV Raspberry Pi


Installing OpenCV.

You must have allocated enough memory, otherwise the compilation, unfortunately, crashes after 2 hours at 100%

# check your total memory (RAM + swap) first. You need at least a total of:
# OpenCV 4.13.0 -> 6.5 GB!
# OpenCV 4.12.0 -> 6.5 GB!
# OpenCV 4.11.0 -> 6.5 GB!
# OpenCV 4.10.0 -> 6.5 GB!
# OpenCV 4.9.0 -> 6.5 GB!
# OpenCV 4.8.0 -> 6.5 GB!
# OpenCV 4.7.0 -> 6.5 GB!
# OpenCV 4.6.0 -> 6.5 GB!
# OpenCV 4.5.5 -> 6.5 GB!
# OpenCV 4.5.0 -> 5.5 GB
# if not, enlarge your swap space as explained in the guide
$ free -m

$ wget https://github.com/Qengineering/Install-OpenCV-Raspberry-Pi-64-bits/raw/main/OpenCV-4-10-0.sh
$ sudo chmod 755 ./OpenCV-4-10-0.sh
$ ./OpenCV-4-10-0.sh

👉 Don't forget to reset your swap memory afterwards.


If you want to beautify OpenCV with the Qt5 GUI you need to

# Bookworm
- $ sudo apt-get install qtbase5-dev
# Other OS
- $ sudo apt-get install qt5-default

# in the cmake list
- Set the -D WITH_QT=**ON** \ (± line 54) in the script

before running the script on your RPi


OpenCV will be installed to the /usr/local directory, all files will be copied to following locations:

  • /usr/local/bin - executable files
  • /usr/local/lib - libraries (.so)
  • /usr/local/lib/cmake/opencv4 - cmake package
  • /usr/local/include/opencv4 - headers
  • /usr/local/share/opencv4 - other files (e.g. trained cascades in XML format)

paypal

About

OpenCV 4.11 installation scripts for Raspberry Pi with 64-bit OS

qengineering.eu/install-opencv-4.5-on-raspberry-64-os.html

Topics

opencvopencv-45raspberry-piraspberry-pi-4raspberry-pi-64-os

Resources

Readme
BSD-3-Clause license
Activity

Stars

70 stars

Watchers

6 watching

Forks

22 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.