mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 13:16:52 +08:00
Using ROIs that have been run through prewarp
This commit is contained in:
@@ -96,7 +96,7 @@ namespace alpr
|
||||
{
|
||||
cv::Rect warped_scan_area = prewarp->projectRect(scan_area, mask.cols, mask.rows, false);
|
||||
|
||||
Rect roi_intersection = roi & scan_area;
|
||||
Rect roi_intersection = roi & warped_scan_area;
|
||||
return roi_intersection;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user