Downloads · 30 days
0
MikiHuang/DeepMosaics-CoreML
DeepMosaics-CoreML is a image-to-image model from MikiHuang. Use it when you need one image transformed into another. The card lists the license as mit.
This repository contains the Apple CoreML conversions of the pre-trained models from the original DeepMosaics project by HypoX64.
Downloads · 30 days
0
Access
Public
Updated Aug 17, 2026
Repo size
186 MB
Likes
0
Public
Click a slice to open those files.
.zip186 MB · 100%
From the Hugging Face model README
This repository contains the Apple CoreML conversions of the pre-trained models from the original DeepMosaics project by HypoX64.
DeepMosaics is a powerful tool for automatic video and image processing. By converting these models to CoreML, iOS and macOS developers can easily integrate these capabilities directly into their Apple ecosystem applications, taking full advantage of on-device hardware acceleration (Apple Neural Engine and GPU).
add_mosaic.mlmodel - 用於為圖片/影片添加馬賽克clean_mosaic_HD.mlmodel - 用於去除馬賽克 (HD 高清版)clean_mosaic_video.mlmodel - 用於去除影片中的馬賽克.mlmodel or .mlpackage file from the Files and versions tab.import CoreML
import Vision
// 1. 初始化模型 (請替換成你的模型名稱)
let model = try! clean_mosaic_HD(configuration: MLModelConfiguration())
// 2. 準備輸入 (請根據你的模型實際的輸入規格修改)
// 例如,如果模型吃的是 CVPixelBuffer:
// let input = clean_mosaic_HDInput(inputImage: pixelBuffer)
// 3. 執行推論
// let output = try! model.prediction(input: input)
// 4. 取得結果
// let resultImage = output.outputImage
Note: Please refer to Xcode's CoreML model inspector to see the exact expected input and output shapes (e.g., Image size or MultiArray dimensions).