IRIS_Detection
For this assignment you need to use Python 3.x and OpenCV 3.0 to create a simple program that can be
used for iris detection. The program will load an image of an eye, and then using simple techniques
(Filters are not allowed) it will detect the iris of the eye from the image.
The program design should be object-oriented and follow the EXACT methods and design as presented
in the file iris_detection.py.
The class will include the following methods:
1. __init__(self, image_path): this method will initialize the class and set the class
attributes
2. load_image(self): it will load the image based on the path passed to the class. This method
should use the function [login to view URL] to load the image. It should also verify that the file exists
and it’s an image file.
3. convert_to_gray_scale(self): Convert the image color from BGR to grayscale
4. detect_pupil(self): This method should use [login to view URL] and
[login to view URL]() function from cv2 library to find the pupil and then set the class
attribute for pupil circle coordinates
5. detect_iris(self): This method should use the background subtraction technique to
isolate the iris from the original image. It should use the coordinates from the detect_pupil
method to get a larger circle using [login to view URL]()
6. start_detection(self): This is the main method that will be called to detect the iris. It will
call all the previous methods in the following order:
a. load_image
b. convert_to_gray_scale
c. detect_pupil
d. detect_iris
Then it should display the resulting image with the iris only using the method [login to view URL]
FIRST: I made this before. I have the code done! one guy contact me to do that..I can do that different in order to avoid plagiarism! I am very "serious" about it.
Also, this is your assignment right? [login to view URL]
I can deliver to you in a couple of hours..are you ok with that?
Thanks for your time on read me.
Best Regards
$30 USD σε 1 ημέρα
4,7 (3 αξιολογήσεις)
1,9
1,9
4 freelancers δίνουν μια μέση προσφορά $25 USD για αυτή τη δουλειά
I am actually working on similar vision projects in my Doctorate.
and i have already an optimized code to detect and localize the human IRIS with python and opencv.
please see my portfolio:
https://www.freelancer.com/u/lhousseinmabrouk.html