Tasks: - Image Capture: Place a brightly colored object against a background that is not a single solid color (e.g., a red apple on a wooden desk, a blue bottle cap on a carpet). Take a photograph of this scene. - Color Segmentation: - Convert the captured image from the BGR/RGB color space to the HSV color space. - Determine the approximate range of Hue, Saturation, and Value for the object you wish to segment. This will require some experimentation. - Use the cv2. inRange ( ) function to create a binary mask that isolates the pixels within your defined color range. - Apply this mask to the original image using cv2. bitwise_and ( ) to segment the object from the background.
Please show the final answer with any photo or screen shot of the solution
ASAP PLEASE
For each of the Tasks (Questions 1-4), you are required to submit the following:
Original Images: The raw photographs you captured for the task.
Result Images: Screenshots of the final output generated by your code (e.g., filtered images, segmented objects, panoramas,
etc.).
Python Code: The complete and runnable code used to perform all tasks.
For the Analysis (Question 5), you will provide written answers based on the results you generated.