Implement letterbox-only blackbar detection mode (#1063)

This commit is contained in:
Peter Eskdale
2020-11-01 18:20:27 +00:00
committed by GitHub
parent 958975975c
commit 85a55de28c
7 changed files with 52 additions and 4 deletions

View File

@@ -79,6 +79,8 @@ namespace hyperion
imageBorder = _detector->process_classic(image);
} else if (_detectionMode == "osd") {
imageBorder = _detector->process_osd(image);
} else if (_detectionMode == "letterbox") {
imageBorder = _detector->process_letterbox(image);
}
// add blur to the border
if (imageBorder.horizontalSize > 0)