mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 12:46:30 +00:00
fix loader bug with _CACHED_HW_INFO
put tile size to name and set it dynamically for AI recognition
This commit is contained in:
@@ -6,5 +6,5 @@ public static class SizeExtensions
|
||||
{
|
||||
public static bool FitSizeForAI(this Size size) =>
|
||||
// Allow to be up to FullHD to save as 1280*1280
|
||||
size.Width <= Constants.AI_TILE_SIZE * 1.5 && size.Height <= Constants.AI_TILE_SIZE * 1.5;
|
||||
size.Width <= Constants.AI_TILE_SIZE_DEFAULT * 1.5 && size.Height <= Constants.AI_TILE_SIZE_DEFAULT * 1.5;
|
||||
}
|
||||
Reference in New Issue
Block a user