-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOpen-Cv-lecture.txt
More file actions
173 lines (119 loc) · 5.65 KB
/
Copy pathOpen-Cv-lecture.txt
File metadata and controls
173 lines (119 loc) · 5.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
OpenCV (Open Source Computer Vision Library) is an open-source library designed for computer vision, image processing, and machine learning applications.
It provides a wide range of tools and algorithms that enable computers to understand and analyze images and videos.
Open cv is python library which is use for:
=> Video processing
=>Image processing
=>Face recognization
=>Video Analysis
=>Object Detection
=>Motion Tracking
=>Feature Detection
=>Camera Calibration
=>Machine Learning Integration
=>Real-Time Computer Vision Applications
.=>Why Use OpenCV?
1. Free and open-source
2. Cross-platform (Windows, Linux, macOS)
3. Supports multiple programming languages such as Python, C++, and Java
4. Large community and extensive documentation
5. Optimized for real-time performance
It use in automated cars hwo is driving selfdriving.
Ai robots who working it self .
In medical field use in MRI machines .
Use in Machine learning and Deep Learning .
What is this in this repository uh will find ???
=>Here uh can find everything about Open Cv form very basic to very Advance level .
Phases which we complete in this repository
Phase 0 - Getting Ready for OpenCV
Phase 1 - Getting Started with OpenCV
Phase 2 - Image Transformations & Manipulation
Phase 3 - Working with Video & Webcam
Phase 4 - Image Filtering & Blurring
Phase 5 - Edge Detection & Thresholding
Phase 6 - Contours & Shape Detection
Phase 7 - Face & Object Detection
BIrth of Open Cv => 2000 and first try in 2006
Problems Faced Before OpenCV
1. Difficulty processing images manually using Python.
2. No efficient way to detect objects in images.
3. Challenges in handling video streams and webcams.
4. Slow image manipulation using traditional methods.
5. Difficulty implementing computer vision algorithms from scratch.
6. Complex image filtering and enhancement techniques.
7. Challenges in edge detection and shape recognition.
8. Difficulty building real-time computer vision applications.
9. Lack of knowledge about image coordinate systems and color spaces.
10. Limited understanding of computer vision fundamentals.
=>> "Benefits of Learning OpenCV"
1. Learn Computer Vision
- Understand how computers see and interpret images and videos.
2. Build Real-World Projects
- Face Detection
- Object Detection
- QR Code Scanner
- Motion Detection
- Number Plate Recognition
3. Strong Career Opportunities
- Computer Vision Engineer
- AI Engineer
- Machine Learning Engineer
- Robotics Engineer
4. Useful in AI and Deep Learning
- OpenCV is often used with TensorFlow, PyTorch, and YOLO.
5. Real-Time Video Processing
- Work with webcams, CCTV cameras, and video streams.
6. Robotics Applications
- Enable robots to recognize objects, faces, and environments.
7. Self-Driving Cars
- Detect lanes, traffic signs, vehicles, and pedestrians.
8. Medical Imaging
- Analyze X-rays, MRI scans, and medical images.
9. Security and Surveillance
- Face recognition and intrusion detection systems.
10. Augmented Reality (AR)
- Create filters and AR applications.
11. Improves Python Skills
- Gain hands-on experience with NumPy and image processing.
12. Open Source and Free
- No licensing cost and supported by a large community.
13. Research Opportunities
- Useful in Computer Vision, AI, and Image Processing research.
14. High Demand Skill
- Widely used in industry and research worldwide.
15. Foundation for Advanced AI
- Helps in learning YOLO, CNNs, Object Tracking, and Deep Learning-based Vision systems.
=>> In this lecture we will disscuss completely about Open Cv and make projects about open cv
===============================================================================================
=> Displaying of Image in Open-Cv
There are methods of dispalying methods
Imshow => it will show image on computer screen
waitkey => if we are not using it after imshow it will disappear from screen instantly
distroyallwindows => will close all open images on computer screen
================================================================================================
=>Image dimension Method
This method is about to know of image hieght,width,color channel etc
Here method is used =>>> (image.shape)
===============================================================================================
=>Grayscale Method
Grayscle conversion method is a method in which we can change color type of image .
Here we will use method for changing color of image which is => "cvtColor" it will convert color of image .
===============================================================================================
=>Resizing and reshaping of Image in Open-Cv
syntax for this method => resize=cv2.resize(sorce,width,hieght,)
==============================================================================================
=>Croping and slicing in open cv
Here we will discuss how to crop and slice an image in open-cv
Crope image method use for croping some area from the picture in open cv
Syntax for this method "cropped_image = image[start_y:end_y, start_x:end_x]"
image[rows, columns]
image[y, x]
=============================================================================================
=>Image Rotation and Fliping ..
Here we will discuss how to image rotate and flip .
Syntax for rotation => "rotated = cv.rotate(image, cv.ROTATE_90_CLOCKWISE)"
Available Rotation Options :
cv.ROTATE_90_CLOCKWISE => for rotating clockwise
cv.ROTATE_90_COUNTERCLOCKWISE => for counter clockwis erotation of image
cv.ROTATE_180 =>for 180 degree
Syntax => rotation=cv.getRotationMatrix2D(center,angle,scale)
==============================================================================================