mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
bugfix, config enhancement and 3 detection modes
Former-commit-id: edfc3e7ccf7b7d727e73a8563acb521045026d5b
This commit is contained in:
@@ -44,11 +44,13 @@ Image<ColorRgb> createImage(unsigned width, unsigned height, unsigned topBorder,
|
||||
|
||||
int main()
|
||||
{
|
||||
unsigned unknownCnt = 600;
|
||||
// unsigned unknownCnt = 600;
|
||||
unsigned borderCnt = 50;
|
||||
unsigned blurCnt = 0;
|
||||
// unsigned blurCnt = 0;
|
||||
Json::Value config;
|
||||
|
||||
BlackBorderProcessor processor(unknownCnt, borderCnt, blurCnt, 3);
|
||||
// BlackBorderProcessor processor(unknownCnt, borderCnt, blurCnt, 3, config);
|
||||
BlackBorderProcessor processor(config);
|
||||
|
||||
// Start with 'no border' detection
|
||||
Image<ColorRgb> noBorderImage = createImage(64, 64, 0, 0);
|
||||
|
Reference in New Issue
Block a user