Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

🚀 Join the AI Vision Academy

Learn to build professional computer vision solutions. Join the community at AI Vision Academy.


Free Code Samples

This repository contains free sample source codes from the Pysource blog.

Disclaimer: These are free sample source codes. They come with no warranty, they are just samples, take them as is.

List of Posts and Source Codes

# Post Title Source Code
1 Tutorial- Remove background – opencv 3.2 with python 3 Download Code
2 Loading images – OpenCV 3.4 with python 3 Tutorial 1 Download Code
3 Loading Video and Webcam – OpenCV 3.4 with python 3 Tutorial 2 Download Code
4 Drawing and writing on images – OpenCV 3.4 with python 3 Tutorial 3 Download Code
5 Basic operations on images – OpenCV 3.4 with python 3 Tutorial 4 Download Code
6 Add images and Threshold – OpenCV 3.4 with python 3 Tutorial 5 Download Code
7 Blending images – OpenCV 3.4 with python 3 Tutorial 6 Download Code
8 Bitwise Operators – OpenCV 3.4 with python 3 Tutorial 7 Download Code
9 Trackbars – OpenCV 3.4 with python 3 Tutorial 8 Download Code
10 Object detection using HSV Color space – OpenCV 3.4 with python 3 Tutorial 9 Download Code
11 Basic Thresholding – OpenCV 3.4 with python 3 Tutorial 10 Download Code
12 Histograms – OpenCV 3.4 with python 3 Tutorial 11 Download Code
13 Basic geometric transformations – OpenCV 3.4 with python 3 Tutorial 12 Download Code
14 Perspective transformation – OpenCV 3.4 with python 3 Tutorial 13 Download Code
15 Affine transformation – OpenCV 3.4 with python 3 Tutorial 14 Download Code
16 Adaptive thresholding – OpenCV 3.4 with python 3 Tutorial 15 Download Code
17 Smoothing images – OpenCV 3.4 with python 3 Tutorial 16 Download Code
18 Morphological transformation – OpenCV 3.4 with python 3 Tutorial 17 Download Code
19 Edge detection – OpenCV 3.4 with python 3 Tutorial 18 Download Code
20 Find and Draw Contours – OpenCV 3.4 with python 3 Tutorial 19 Download Code
21 Template matching – OpenCV 3.4 with python 3 Tutorial 20 Download Code
22 Lines detection with Hough Transform – OpenCV 3.4 with python 3 Tutorial 21 Download Code
23 Corners detection – OpenCV 3.4 with python 3 Tutorial 22 Download Code
24 Image Pyramids – OpenCV 3.4 with python 3 Tutorial 23 Download Code
25 Image Pyramids (Blending and reconstruction) – OpenCV 3.4 with python 3 Tutorial 24 Download Code
26 Feature detection (SIFT, SURF, ORB) – OpenCV 3.4 with python 3 Tutorial 25 Download Code
27 Feature Matching (Brute-Force) – OpenCV 3.4 with python 3 Tutorial 26 Download Code
28 Mouse Events – OpenCV 3.4 with python 3 Tutorial 27 Download Code
29 Histogram and Back Projection – OpenCV 3.4 with python 3 Tutorial 28 Download Code
30 Object tracking with Mean-shift – OpenCV 3.4 with python 3 Tutorial 29 Download Code
31 Object tracking with Camshift – OpenCV 3.4 with python 3 Tutorial 30 Download Code
32 Optical Flow with Lucas-Kanade method – OpenCV 3.4 with python 3 Tutorial 31 Download Code
33 Background Subtraction – OpenCV 3.4 with python 3 Tutorial 32 Download Code
34 k-Nearest Neighbour classification – OpenCV 3.4 with python 3 Tutorial 33 Download Code
35 Object tracking using Homography – OpenCV 3.4 with python 3 Tutorial 34 Download Code
36 Check if two images are equal with Opencv and Python Download Code
37 Find similarities between two images with Opencv and Python Download Code
38 Detect how similar two images are with Opencv and Python Download Code
39 Check if a set of images match the original one with Opencv and Python Download Code
40 Fourier Transform – OpenCV 3.4 with python 3 Tutorial 35 Download Code
41 Knn handwritten digits recognition – OpenCV 3.4 with python 3 Tutorial 36 Download Code
42 Simple shape detection – Opencv with Python 3 Download Code
43 Face detection using Haar Cascades – OpenCV 3.4 with python 3 Tutorial 37 Download Code
44 How to create a cartoon effect – Opencv with Python Download Code
45 Real time shape detection – Opencv with Python 3 Download Code
46 Eye motion tracking – Opencv with Python Download Code
47 Eye detection – Gaze controlled keyboard with Python and Opencv p.1 Download Code
48 Eye Blinking detection – Gaze controlled keyboard with Python and Opencv p.2 Download Code
49 Eye Gaze detection 1 – Gaze controlled keyboard with Python and Opencv p.3 Download Code
50 Eye Gaze detection 2 – Gaze controlled keyboard with Python and Opencv p.4 Download Code
51 Virtual Keyboard – Gaze controlled keyboard with Python and Opencv p.5 Download Code
52 Virtual Keyboard 2 – Gaze controlled keyboard with Python and Opencv p.6 Download Code
53 Virtual Keyboard 3 – Gaze controlled keyboard with Python and Opencv p.7 Download Code
54 Press a key by blinking eyes – Gaze controlled keyboard with Python and Opencv p.8 Download Code
55 Play sounds – Gaze controlled keyboard with Python and Opencv p.9 Download Code
56 Write using your Eyes – Gaze controlled keyboard with Python and Opencv p.10 Download Code
57 Detecting colors (Hsv Color Space) – Opencv with Python Download Code
58 Ho do computers see images- – Opencv with Python Download Code
59 Scanning Qr Code – Opencv with Python Download Code
60 Face landmarks detection – Opencv with Python Download Code
61 Pig’s nose (Instagram face filter) – Opencv with Python Download Code
62 Face swapping – Opencv with Python (part 1) Download Code
63 Matching the two faces triangulation – Face swapping Opencv with Python (part 3) Download Code
64 Select and Warp triangles – Face swapping Opencv with Python (part 4) Download Code
65 Swap faces – Face swapping Opencv with Python (part 5) Download Code
66 Face swapping (explained in 8 steps) – Opencv with Python Download Code
67 Control webcam with servo motor and raspberry pi – Opencv with Python Download Code
68 YOLO object detection using Opencv with Python Download Code
69 YOLO Real time detection on CPU Download Code
70 Detect when an image is Blurry – Opencv with Python Download Code
71 OCR Text recognition with Python and API (ocr.space) Download Code
72 Capture Screen from a window – Python Plays Tetris p. 1 Download Code
73 Windows GUI automation – Python Plays Tetris p. 2 Download Code
74 Insert tetrominoes position into an array – Python Plays Tetris p. 4 Download Code
75 Train YOLO to detect a custom object (online with free GPU) Download Code
76 Add watermark to multiple images with Opencv and Python Download Code
77 Text recognition (OCR) with Tesseract and Opencv Download Code
78 Identify objects moving on a conveyor belt using Opencv with Python Download Code
79 Build a Sleep Tracker with Opencv and Python Download Code
80 Create a simple Image Classifier Download Code
81 Create an automatic image classifier Download Code
82 How to create a Neuron from scratch with python Download Code
83 Train the Neuron Neural network Download Code
84 Add multiple Images , neural network Download Code
85 Add functions, feedforward and backpropagation Download Code
86 Create Layer Class Download Code
87 Object Tracking with Opencv and Python Download Code
88 How crop images with OpenCV and Python Download Code
89 Distance detection with Depth Camera (Intel Realsense d435i) Download Code
90 Create an animated GIF in real-time with Opencv and Python Download Code
91 Facial Landmarks Detection - with Opencv, Mediapipe and Python Download Code
92 Instance Segmentation MASK R-CNN - with Python and Opencv Download Code
93 Blur Faces in real time with Opencv, Mediapipe and Python Download Code
94 Detect object’s distance with LIDAR camera Intel Realsense L515 Download Code
95 Image Augmentation (Improve your Dataset) - with Imgaug Download Code
96 Identify and Measure precisely Objects distance - with Deep Learning and Intel Realsense Download Code
97 Count Vehicles on images with Opencv and Deep learning Download Code
98 Face recognition in real-time with OpenCV and Python Download Code
99 How I built a Computer Vision Game with Opencv, Mediapipe and Python Download Code
100 Object tracking from scratch – OpenCV and python Download Code
101 Simple Color recognition with Opencv and Python Download Code
102 Kalman filter, predict the trajectory of an Object Download Code
103 Build your OBJECT DETECTION SOFTWARE – Crash course Download Code
104 Calculate the Area of an object - with Mask R-CNN and Python Download Code
105 Create layers - Computer Vision with Keras p.1 Download Code
106 Build a Sequential model - Computer Vision with Keras p.2 Download Code
107 Conv2D Layer - Computer Vision with Keras p.3 Download Code
108 Feature map - Computer Vision with Keras p.4 Download Code
109 Max pooling layer - Computer Vision with Keras p.5 Download Code
110 VGG16 from scratch - Computer Vision with Keras p.7 Download Code
111 Flatten and Dense layers - Computer Vision with Keras p.6 Download Code
112 Build a computer vision timer tracker - OpenCV with Python tutorial Download Code

--

About

Free code samples from Pysource blog

Resources

Stars

9 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors