How to apply?
Submission Link: https://forms.gle/QYiRmRrXRymAazCY8
Deadline: 11:59 PM, 23rd July, 2024
To enroll for the project, you must fill out the form above. For further credit, you can attempt and submit the assignment below to the best of your abilities, taking the aid of any tools online. We will contact you personally if you are shortlisted for the interview.
(Optional) Assignment:
Build a GUI to take image input, process it and save it.
You are provided with some resources, your task is to build a GUI which takes image input either by choosing an existing image or capturing it using buttons in the GUI, saves those images, converts it to grayscale on button trigger and saves the final image also
Task 1 : Add a Take Photo button
The button on clicking should capture a frame by accessing the existing webcam in the device.
It should then take input to the directory path where this captured image should be saved as well as its filename.
Task 2 : Add a Choose Photo button
The button on clicking should take input to the path of an existing image in the local disk.
It should then take input to the directory path where this chosen unprocessed image should be saved as well as its filename.
Task 3 : Add a Process & Save button
This button should convert this unprocessed image chosen/captured into grayscale.
It should then save this grayscale image in the same directory as the unprocessed image and filename as ‘_gray’ appended at the end of the filename of the original image.
Resources:
https://docs.python.org/3/library/tkinter.html
https://www.geeksforgeeks.org/how-to-capture-a-image-from-webcam-in-python/