mirror of
https://github.com/foomo/coreml-service-yolov8.git
synced 2025-10-16 12:25:42 +00:00
8 lines
204 B
Swift
8 lines
204 B
Swift
import Vapor
|
|
|
|
func routes(_ app: Application) throws {
|
|
let recoController = RecognitionController(modelsPath: "")
|
|
try app.register(collection: recoController)
|
|
try recoController.loadModel()
|
|
}
|