Finding coordinates From image

3 次查看(过去 30 天)
hello. I'm working on eye detection and I wanna know how can I find coordinates of a picture automatically? Can anyone help me?
  3 个评论
Zainab Afreen
Zainab Afreen 2021-1-13
Task 1:
1.First crop the region of interest i.e. left and right eye seperatly.
2. Then find coordinates (x,y) for each glint. you can use image processing techniques to detect four glints. like RANSAC, image thresholding, etc.

请先登录,再进行评论。

采纳的回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2021-1-13
You have do little effort to localize the eye section in the image. You may use imfindcircles function (Read about CHT Image Processing)
[centers,radii, metric] = imfindcircles(grayImage,[r_min,r_max],'Sensitivity',sense_val);
Try with possible pixels radii values to localize eye on face image (Probable Values, may be r_min=60 or r_max=100), control the sensitivity for circular object detection (Val 0 to 1), try with sense_val 0.96 or near in your case.
Once the circular object detected, draw circles on it by considering its evalueted centers and radii values
viscircles(centers, radii,'EdgeColor','b');
There are many literatures avalible in public domain related to eye detection (Human face)
Try for other tasks yourself, any specific question you can ask in this forum.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by