Multiple OpenCV projects that range from reading images and videos to analysing contours and detecting face, covering different aspects of Image Processing. This repository is inspired from Murtaza Hassan's the online tutorial video that can be found here.
canny_edge_detection.py
: Detecting edges involving Grayscale, Blur, Canny Edge detection, Dialation, Erosionface_detection.py
: Detecting faces in an image using haarcascade_frontalface_default.xmlread_img_vid.py
: Read images and videos from folders as well as realtime webcamresize_crop_img.py
: Basics of Resizing and Cropping imagesdraw_write_img.py
: To daw shapes and impose text on imagesstack_img.py
: Stacking Images horizontally and verticallywarp_image.py
: Warp an image of a card to straighten it in the outputshape_detection.py
: Detecting shapes by analysing contours, bounding boxes, after converting to GrayScalecolor_identification.py
: Identify Orange color from the Lambo image(provided in Resources Folder) and isolate using HSVcolor_picker.py
: To help identify HSV values of any color in an inputted imageProject1.py
: Webcam Color identification and draw using HSV color detection and contour detection, then use bounding boxes
You can use a code editor of your choice, but I personally find PyCharm very user friendly and easy to use.
- Download the tarball .tar.gz from Here
- Extract the tarball to a directory that supports file execution.For example, if the downloaded version is 1.17.7391, you can extract it to the recommended /opt directory using the following command:
sudo tar -xzf jetbrains-toolbox-1.17.7391.tar.gz -C /
- Switch to the bin subdirectory:
cd /opt/pycharm-*/bin
- Run pycharm.sh from the bin subdirectory:
sh pycharm.sh
- Go to your workspace (any folder where you which to maintain this code)
- Open terminal at that location (Right-Click -> Open in Terminal)
- Clone the repostory by pasting the following into the opened terminal:
git clone "https://github.com/PulkitRustagi/OpenCV_Projects.git"