Trikot-Erkennung verbessert: OCR auf ganzer Person + ganzem Bild, kleinere Nummern (Brust/Hose), Nummern in Text ('HUTH 10'), Teamfarbe direkt um die Nummer; erkannte Nummern ohne Team/Code sichtbar, gemessene Farbe angezeigt; Cache neu
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012bGzgsxrmbBhDzeMV2L57D
This commit is contained in:
1 parent
3aa5bdef0e
commit
43405abd67
4 files changed
+121
-63
No files matched your search
@@ -44,6 +44,10 @@ public struct JerseySuggestion: Codable, Hashable, Identifiable, Sendable {
|
||||
public var box: [Double] // x, y, w, h
|
||||
/// Person size in the frame (main subject first)
|
||||
public var personArea: Double
|
||||
/// Kit color measured around the number (shown in the IPTC window to calibrate the team colors)
|
||||
public var measuredColor: KitColor?
|
||||
/// false = team guessed (color matched no team clearly) – both teams' players are suggested
|
||||
public var teamCertain: Bool?
|
||||
|
||||
public init(number: Int, teamID: UUID?, code: String?, replacement: String?, confidence: Double,
|
||||
regions: [JerseyRegion], box: [Double], personArea: Double) {
|
||||
|
||||
Reference in new issue
Block a user