File size: 886 Bytes
90cbeac
 
9ecc46e
 
 
 
 
 
90cbeac
9ecc46e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
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