mirror of
https://github.com/YutaItoh/3D-Eye-Tracker.git
synced 2025-11-04 15:39:41 +08:00
Fixed bug: filter not recognizing large ellipses
This commit is contained in:
parent
a7be87829b
commit
6f679770d9
@ -323,7 +323,7 @@ bool pupilAreaFitRR(Mat &gray, RotatedRect &rr, vector<Point2f> &allPtsReturn,
|
||||
current.size.width < 25 ||
|
||||
current.size.width > maxSize ||
|
||||
current.size.height > maxSize ||
|
||||
current.size.height + current.size.width > 400) {
|
||||
current.size.height + current.size.width > 2 * maxSize) {
|
||||
isGood = false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user