Hello)
I came to Boston University to do some cool AI stuff.
Here's a five-minute snippet that proves that you can build any Computer Vision concept you need stricly within one tab.
# you can get IVC data from everywhere directly in the notebook
!gdown --id 1b0w1EgnUllwDHXmNg10xycbYqJrNkzuA
#verisfication you have it here!
ls
#And all your prerequisites in place
!pip install opencv-python
!pip install numpy
#Now let's do some fun stuff
import cv2
imagePath = 'f14298240.jpg'
# Read the image
image = cv2.imread(imagePath)
gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
filename = 'savedImage.jpg'
#cause image may be pretty big - resize it
gray = cv2.resize(gray, (400, 600))
# Using cv2.imwrite() method
# Saving the image
cv2.imwrite(filename, gray)
from IPython.display import Image
Image('savedImage.jpg')
kernel_size = (5,5)
# opencv has implementation for kernel based box blurring
blur = cv2.blur(gray,kernel_size)
cv2.imwrite(filename, blur)
Image(filename)
import os
os.system('jupyter nbconvert --execute --to html HowToDoCV.ipynb')