diff --git a/TMT/TMT/BusJourneyExtractor/BusInfoEnum.swift b/TMT/TMT/BusJourneyExtractor/BusInfoEnum.swift index 7b4a479..dcc5830 100644 --- a/TMT/TMT/BusJourneyExtractor/BusInfoEnum.swift +++ b/TMT/TMT/BusJourneyExtractor/BusInfoEnum.swift @@ -10,7 +10,6 @@ enum BusColor: String, CaseIterable { case general = "General" case express = "Express" case green = "Green" - case town = "Town" static var allColors: [String] { return BusColor.allCases.map { $0.rawValue } diff --git a/TMT/TMT/BusJourneyExtractor/BusJourneyExtractor.swift b/TMT/TMT/BusJourneyExtractor/BusJourneyExtractor.swift index c48afeb..57241cd 100644 --- a/TMT/TMT/BusJourneyExtractor/BusJourneyExtractor.swift +++ b/TMT/TMT/BusJourneyExtractor/BusJourneyExtractor.swift @@ -27,7 +27,7 @@ class BusJourneyExtractor { BusNumber.allNumbers.contains(where: { element.contains($0) }) && !element.contains("명") } ocrProcessor.getBusNumber(sortOfBusNumber: sortOfBusNumber) - + // MARK: - 버스 경로 생김새에 따라 분기처리합니다. if let firstColorIndex = filteredArray.firstIndex(where: { element in sortOfBuses.contains(where: { busType in element.contains(busType) }) diff --git a/TMT/TMT/BusJourneyExtractor/OCRProcessor.swift b/TMT/TMT/BusJourneyExtractor/OCRProcessor.swift index 9abc514..b8181a8 100644 --- a/TMT/TMT/BusJourneyExtractor/OCRProcessor.swift +++ b/TMT/TMT/BusJourneyExtractor/OCRProcessor.swift @@ -66,7 +66,8 @@ class OCRProcessor { } if firstIndex < secondIndex { let result = Array(filteredArray[(firstIndex + 1)..