1. Engineering
  2. Computer Science
  3. matlab write a program that reads in an image makes...

Question: matlab write a program that reads in an image makes...

Question details

Matlab

Write a program that reads in an image, makes a determination about the location of the eyes, and output the positions of the eyes.

% Please edit this function only, and submit this Matlab file in a zip file
% along with your PDF report

function [left_x, right_x, left_y, right_y] = eye_detection(img)
% INPUT: RGB image
% OUTPUT: x and y coordinates of left and right eye.
% Please rewrite this function, and submit this file in Canvas (in a zip file with the report).

left_x = 100;
right_x = 300;
left_y = 50;
right_y = 50;

end

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution