LucaLangella commited on
Commit
9ecc46e
·
verified ·
1 Parent(s): 4bc98ab

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +46 -0
README.md CHANGED
@@ -1,3 +1,49 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ tags:
4
+ - coreml
5
+ - image-classification
6
+ - crack-detection
7
+ - ios
8
+ - visionos
9
  ---
10
+
11
+ # Sharp — Crack Detection CoreML Model
12
+
13
+ A compiled CoreML model (`.mlmodelc`) for detecting cracks in surfaces, built for Apple platforms (iOS, visionOS).
14
+
15
+ ## Download
16
+
17
+ Download `sharp.mlmodelc.zip` from the **Files** tab above, then unzip it:
18
+
19
+ ```bash
20
+ unzip sharp.mlmodelc.zip
21
+ ```
22
+
23
+ Or via the CLI:
24
+
25
+ ```bash
26
+ pip install huggingface_hub
27
+ huggingface-cli download LucaLangella/Sharp sharp.mlmodelc.zip
28
+ unzip sharp.mlmodelc.zip
29
+ ```
30
+
31
+ Or in Python:
32
+
33
+ ```python
34
+ from huggingface_hub import hf_hub_download
35
+
36
+ path = hf_hub_download(repo_id="LucaLangella/Sharp", filename="sharp.mlmodelc.zip")
37
+ ```
38
+
39
+ ## Usage
40
+
41
+ Add the unzipped `sharp.mlmodelc` folder to your Xcode project and load it with Core ML:
42
+
43
+ ```swift
44
+ let model = try sharp(configuration: MLModelConfiguration())
45
+ ```
46
+
47
+ ## License
48
+
49
+ MIT