Sharp / README.md
LucaLangella's picture
Upload README.md with huggingface_hub
9ecc46e verified
---
license: mit
tags:
- coreml
- image-classification
- crack-detection
- ios
- visionos
---
# Sharp — Crack Detection CoreML Model
A compiled CoreML model (`.mlmodelc`) for detecting cracks in surfaces, built for Apple platforms (iOS, visionOS).
## Download
Download `sharp.mlmodelc.zip` from the **Files** tab above, then unzip it:
```bash
unzip sharp.mlmodelc.zip
```
Or via the CLI:
```bash
pip install huggingface_hub
huggingface-cli download LucaLangella/Sharp sharp.mlmodelc.zip
unzip sharp.mlmodelc.zip
```
Or in Python:
```python
from huggingface_hub import hf_hub_download
path = hf_hub_download(repo_id="LucaLangella/Sharp", filename="sharp.mlmodelc.zip")
```
## Usage
Add the unzipped `sharp.mlmodelc` folder to your Xcode project and load it with Core ML:
```swift
let model = try sharp(configuration: MLModelConfiguration())
```
## License
MIT