image_processing
image_processing copied to clipboard
image-processing exercises.
image_processing
Assignment 21
Checkered Board
- Create a chess table using numpy and opencv.
- view:

Color Correction
- Reverse black and white colors with opencv.
- views:

Rotate Image
- Rotate an image with for loop in opencv(without cv2.rotate)
- view:

Color Separation
- Separate object of black-whte image using opencv and threshold method.
- view:

Corner Line
- Create a black line in top left corner.(without opencv built-in methods)
- view:

Gradient
- Create an image with whito-black gradient using open-cv and numpy.
- view:

Letter B
- Design letter B using numpy and open-cv.
- view:

Assignment 22
Find secret by subtract
- find secret with subtracking 2 images.
- view:

Black hole noise reduction
- noise reduction and stick images to create a complete black hole photo.
- view:

Find difference
- flip an image find difference between another image.
- view:

Hide cars highway
- add images to make highway looks empty!
- view:

Merge pics
- Merging images in 4 stages.
- view:

Image to sketch
- sketch Mona-Lisa.
- view:

Add noise
- Add some image noises to Chess image.
- view:

Assignment 23
Face recognition
- Real-time camera that can put stickers on face.
- written in Python using opencv and numpy (and win10toast library for notifications).
- features:
- put sticker on face.
- put stickers on lips and eyes.
- censored face.
- flip horizontal effect.
- face recognition camera using haarcascade-frontal-face algorithm.
- smile recognition camera using haarcascade-smile algorithm.
- recognition camera using haarcascade-eye algorithm.
- emoji:

- lips and eyes:

- censored face:

- flip horizontal effect:

Assignment 24
Lips and Eyes filter
-
make target's lips and eyes bigger than real.
-
written in python using opencv, numpy, tensorflow.
output
https://user-images.githubusercontent.com/77120507/142758304-74cfec5f-f8be-4a80-b685-2c4fbbd7ed83.mp4
Lips and Eyes filter + scaling Mouth
-
Now can scale with your mouth aspect ratio.
-
save video frames as *mp4.
output
https://user-images.githubusercontent.com/77120507/143193660-78fa80f0-af88-4abd-a4a5-24c87888ad3c.MP4
Assignment 25
Blur Background
- simply blur background of a flower manually using convolution technique.

Convolution
- edge finding by convolution technique.

Edge Convolution
- horizontal and vertical edge detector by convolution technique.


Convolution Filters
- try some Convolution with different kernel size.




3 Shades Of Gray
- Diagnosis black-white-gray color on gray frame.
https://user-images.githubusercontent.com/77120507/143675823-fb1b8a25-1644-42d1-a994-b85c3b653d69.MP4
Assignment 26
A-23 + Face Blur
-
Face recognition from assignment 23 + face blur option.
output (click to show)
https://user-images.githubusercontent.com/77120507/144198733-5228698b-1ed5-49f0-87c3-85871887eeda.MP4
A-25 + High Contrast
-
Make target high contrast for better color detection(black - white - gray).
output (click to show)
https://user-images.githubusercontent.com/77120507/144198928-ec7bee84-2cfe-4a24-a6f3-9cd52aa1b1d5.MP4
Increase Contrast Methods
- 3 ways for contrast adjustment.
Sudoku Filled Square Detection
- Find filled squares in sudoku.
- [x] 1- Find sudoku in image.
- [x] 2- Adjust contrast.
- [x] 3- Walk through squares and find digits!
- [x] 4- Save each square as an image.
Mnist Numbers
- Split 5000 numbers one by one and save them in separate folders.
Snowfall Effect
-
Create a snow effect by opencv and make a gif out of it with imageio library.
output (click to show)
https://user-images.githubusercontent.com/77120507/145181096-fedfaf8d-d934-47fb-abf3-7ecd84bd37ff.MP4
Make S&P Noise and Noise Reduction + Face Align with Eyes
- Make Salt and Peper Noise and reduce noises by getting median with specific kernel size.
- Face align with eyes by taking the angle of rotation of the face with MTCNN.
Assignment 27
Find Contours Function
- Implementating cv2.findContours(image, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_NONE) function from scratch.
- I have implemented it in two mode.
- Original image:

- Thresholded image:

- RETR_EXTERNAL:

- RETR_LIST:

- Original image:
Dice Recognition
- 6-sided Dice Recognition using opencv methodes(canny, threshold, close morphology, HoughCircles and etc).
Assignment 28
Sudoku Detector
- Detect sudoku and transform to flat image using imutils.perspective
usage: sudoku_detector.py [-h] [--input INPUT] [--output OUTPUT] [--kernel_size KERNEL_SIZE] [--color COLOR]
Live Sudoku Detector
- Real-time Sudoku detector
usage: live_sudoku_detector.py [-h] [--input INPUT] [--output OUTPUT] [--kernel_size KERNEL_SIZE] [--color COLOR]
Time Warp Scan
-
Time warp scan filter in Tik Tok written in python using opencv and numpy library.
output (click to show)
https://user-images.githubusercontent.com/77120507/147506691-b5151bee-26e0-48a3-b55b-af4b1410f29e.MP4
Assignment 29
Color Picker
- Simple RGB color picker written in python using pyside6.
Microsoft Logo
- Microsoft logo design using opencv and Numpy library.
Webcam Color Detection
- Real-time webcam color detection using opencv, Numpy.
- colors: white, black, gray, red, green, blue, cyan, magenta, yellow
rubik
- fix rubik's colors.
Green Carrot!
- Make a Green Carrot!.
Assignment 30
Blue Screen Technique
- Blue screen technique is one of the most common types of scene setting used in filmmaking. It involves placing actors and foreground objects in front of a large blue screen while filming.
- This code is written in python using opencv, numpy, matplotlib.
Skin Detection
- Skin detection is the process of finding skin-colored pixels and regions in an image or a video. This process is typically used as a preprocessing step to find regions that potentially have human faces and limbs in images.
- This program is written in python-opencv using HSV & YCbCr color space.
Mini Project 3
Employee Management
- GUI Employee Manager written in python using sqlite, opencv, PySide6, Numpy, hashlib.
- Admin Login:
- Secure Admin Login profile with sha-256 encoding.
- Employee List:
- Add, Edit or Delete Employees using GUI.
- Add Employee:
- Simply add employees with firstName LastName nationalCode and their birthday.
- Camera:
- Instantly take a picture for employee's avatar.
- Filter:
- 9 filter for employee's avatar.
- Edit Employee:
- Edit employee profile with GUI.




















