mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
merged
This commit is contained in:
commit
c90e865838
@ -42,6 +42,9 @@ namespace dlib
|
||||
) const
|
||||
{
|
||||
const double inner = a.intersect(b).area();
|
||||
if (inner == 0)
|
||||
return false;
|
||||
|
||||
const double outer = (a+b).area();
|
||||
if (inner/outer > match_thresh ||
|
||||
inner/a.area() > overlap_thresh ||
|
||||
|
Loading…
Reference in New Issue
Block a user