Merge pull request #124 from AFZL210/master

Added OpenCV Gray Image issue #117
This commit is contained in:
Advaita Saha 2022-10-05 11:21:44 +05:30 committed by GitHub
commit 20699af3a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 10 deletions

View File

@ -131,6 +131,13 @@ Thanks a lot for spending your time helping! Keep rocking 🍻
</a>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/AFZL210">
<img src="https://avatars.githubusercontent.com/u/79896602?v=4" width="100;" alt="AFZL210"/>
<br />
<sub><b>Mohd Afzal Khan</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/kriptonian1">
<img src="https://avatars.githubusercontent.com/u/74916308?v=4" width="100;" alt="kriptonian1"/>
@ -165,15 +172,15 @@ Thanks a lot for spending your time helping! Keep rocking 🍻
<br />
<sub><b>Vedant Jolly</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/Dishant10">
<img src="https://avatars.githubusercontent.com/u/84343829?v=4" width="100;" alt="Dishant10"/>
<br />
<sub><b>Dishant Nagpal</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/SiddheshKukade">
<img src="https://avatars.githubusercontent.com/u/65951872?v=4" width="100;" alt="SiddheshKukade"/>
@ -208,15 +215,15 @@ Thanks a lot for spending your time helping! Keep rocking 🍻
<br />
<sub><b>Srinjoy Pati</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/accodes21">
<img src="https://avatars.githubusercontent.com/u/101868279?v=4" width="100;" alt="accodes21"/>
<br />
<sub><b>Aarya Chopkar</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/akashJainAJ11">
<img src="https://avatars.githubusercontent.com/u/94193834?v=4" width="100;" alt="akashJainAJ11"/>
@ -251,15 +258,15 @@ Thanks a lot for spending your time helping! Keep rocking 🍻
<br />
<sub><b>Nafis Adnan Mondal</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/devtayade">
<img src="https://avatars.githubusercontent.com/u/84332795?v=4" width="100;" alt="devtayade"/>
<br />
<sub><b>Null</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/yashbrid03">
<img src="https://avatars.githubusercontent.com/u/65955929?v=4" width="100;" alt="yashbrid03"/>
@ -294,7 +301,8 @@ Thanks a lot for spending your time helping! Keep rocking 🍻
<br />
<sub><b>Sameer Sahu</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/NishantPacharne">
<img src="https://avatars.githubusercontent.com/u/71060551?v=4" width="100;" alt="NishantPacharne"/>

View File

@ -0,0 +1,13 @@
import cv2
cap = cv2.VideoCapture(0)
while True:
success, img = cap.read()
blurImage = cv.GaussianBlur(img,(5,5),0)
grayImg = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
cv2.imshow("Grayimage", grayImg)
cv2.imshow("Blur", blurImage)
cv2.imshow("image",img)
cv2.waitKey(10)

View File

@ -0,0 +1,17 @@
## Run Locally
Clone the project
Install dependencies
```bash
pip install opencv-python
```
Run the main.py file
```bash
python main.py
```