Skip to content

OpenCV

September 29, 2023
December 31, 2014

OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library.

freeCodeCamp:
OpenCV Course - Full Tutorial with Python - YouTube
Advanced Computer Vision with Python - Full Course - YouTube

PyImageSearch:
FREE OpenCV, Computer Vision, Deep Learning, and Python Crash Course | PyImageSearch
OpenCV Tutorials, Resources, and Guides | PyImageSearch
Adrian Rosebrock, Author at PyImageSearch many OpenCV/OCR tutorials

This note will focus on the Python binding. Though popular, the Python binding lacks in documentation. Prepare to study its source code and be familiar with OpenCV's C API.
opencv-python · PyPI is recommended over the one provided by package manager
opencv-python-headless · PyPI have less dependencies for headless use, but see #208 opencv-python-headless requires x11
piwheels blog - New opencv builds dependencies of OpenCV (and headless)
jrosebr1/imutils: A series of convenience functions to make basic image processing operations such as translation, rotation, resizing, skeletonization, and displaying Matplotlib images easier with OpenCV and Python.

Murtaza's Workshop
LEARN OPENCV in 3 HOURS with Python | Including 3xProjects | Computer Vision - YouTube
LEARN OPENCV C++ in 4 HOURS | Including 3x Example Projects Win/Mac (2021) - YouTube
OpenCV Python Projects - YouTube

Install OpenCV 4 on Raspberry Pi 4 and Raspbian Buster - PyImageSearch compile from source

Image Processing 101
Welcome to OpenCV-Python Tutorials’s documentation! — OpenCV-Python Tutorials 1 documentation

How The Camera is Becoming the World's Most Important Sensor - Greg Borenstein - YouTube
A fun, hands-on deep learning project for beginners, students, and hobbyists - PyImageSearch

So I Suck At 24: Automating Card Games Using OpenCV and Python | Arnab Nandi
Dominating an Online Game with Object Detection Using OpenCV - Template Matching. - YouTube

Finger Detection and Tracking using OpenCV and Python - DEV Community 👩‍💻👨‍💻

How to track football players using Yolo, SORT and Opencv. | by C Kuan | Aug, 2020 | Towards Data Science

Image Segmentation Using Color Spaces in OpenCV + Python – Real Python
Python Face Detection & OpenCV Examples Mini-Guide (PDF)

Page dewarping

Introduction to programming with OpenCV old, 2006
Computer Vision: Algorithms and Applications

Build a Face Detection Model on a Video using Python

Video

OpenCV: Getting Started with Videos
Read, Write and Display a video using OpenCV ( C++/ Python ) | Learn OpenCV
Create a video in Python from images
opencv - Python - Extracting and Saving Video Frames - Stack Overflow

Open video with cv::VideoCapture
Output images with cv.imwrite(), supported image formats

Text/OCR

Optical Character Recognition (OCR) Archives - PyImageSearch
OpenCV Text Detection (EAST text detector) - PyImageSearch
Using Tesseract OCR with Python - PyImageSearch
OpenCV OCR and text recognition with Tesseract - PyImageSearch
Text Detection and Extraction using OpenCV and OCR - GeeksforGeeks
Read Text from Image with One Line of Python Code | by Dario Radečić | Towards Data Science

Automatically OCR’ing Receipts and Scans - PyImageSearch
OpenCV: Automatic License/Number Plate Recognition (ANPR) with Python - PyImageSearch
Number Plate Detection with OpenCV and Python | Don't Repeat Yourself

Tesseract documentation | Tesseract OCR
tesseract-ocr/tesseract: Tesseract Open Source OCR Engine (main repository)

Tesseract.js | Pure Javascript OCR for 100 Languages!
naptha/tesseract.js: Pure Javascript OCR for more than 100 Languages 📖🎉🖥
Image To Text Conversion With React And Tesseract.js (OCR) — Smashing Magazine

jeromewu/tesseract.js-offline: An example for using tesseract.js in offline
深度学习——使用 Tesseract.js 在浏览器离线识别图片中的文字_知北行的博客-CSDN 博客_tesseract.js
Build an image-to-text conversion app with React and Tesseract.js OCR - LogRocket Blog

dpScreenOCR

文本识别 OCR 解决方案 - Awesome软件 - OSCHINA - 中文开源技术交流社区
Capture2Text
mindspore-lab/mindocr: A toolbox of OCR models, algorithms, and pipelines based on MindSpore
ctripcorp/C-OCR: C-OCR是携程自研的OCR项目,主要包括身份证、护照、火车票、签证等旅游相关证件、材料的识别。 项目包含4个部分,拒识、检测、识别、后处理。
hiroi-sora/Umi-OCR: OCR图片转文字识别软件,完全离线。截屏/批量导入图片,支持多国语言、合并段落、竖排文字。可排除水印区域,提取干净的文本。基于 PaddleOCR 。
DayBreak-u/chineseocr_lite: 超轻量级中文ocr,支持竖排文字识别, 支持ncnn、mnn、tnn推理 ( dbnet(1.8M) + crnn(2.5M) + anglenet(378KB)) 总模型仅4.7M
chungkwong/MathOCR: A scientific document recognition system

Tips and Tricks

Unicode Path/Filename for imread and imwrite · Issue #4292 · opencv/opencv read from buffer instead

Blogs

opencv | More Than Technical
OpenCV 3 Tutorials, Resources, and Guides | PyImageSearch
Computer Vision – Real Python

PyImageSearch

PyImageSearch - Be awesome at OpenCV, Python, deep learning, and computer vision
The 7 best deep learning books you should be reading right now - PyImageSearch
ImageSearchEngineResourceGuide.pdf

Neural Style Transfer with OpenCV - PyImageSearch

Face recognition with OpenCV, Python, and deep learning - PyImageSearch
How to build a custom face recognition dataset - PyImageSearch
Face recognition with OpenCV, Python, and deep learning - PyImageSearch
How to build a custom face recognition dataset - PyImageSearch
Black and white image colorization with OpenCV and Deep Learning - PyImageSearch

How to Build a Kick-Ass Mobile Document Scanner in Just 5 Minutes - PyImageSearch

Simple Scene Boundary/Shot Transition Detection with OpenCV - PyImageSearch

A gentle guide to deep learning object detection - PyImageSearch
Object detection with deep learning and OpenCV - PyImageSearch
Real-time object detection with deep learning and OpenCV - PyImageSearch

A fun, hands-on deep learning project for beginners, students, and hobbyists - PyImageSearch
Keras and Convolutional Neural Networks (CNNs) - PyImageSearch
Multi-label classification with Keras - PyImageSearch
Running Keras models on iOS with CoreML - PyImageSearch

JavaScript

Image Processing - Making Custom Filters - React.js - Part 2
Image Processing - OpenCV and Node.js (Part 3)

C Sharp

shimat/opencvsharp: .NET Framework wrapper for OpenCV
OpenCvSharp Example

Rust

Rust and OpenCV. We all know why Rust is so great… | by Jonathan Österberg | Feb, 2022 | Dev Genius

References

OpenCV: OpenCV modules

atduskgreg-opencv-processing-book · GitHub book based on the Java binding

(height, width, bytes_per_pixel) = image.shape