Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcsteven/pheumoniadetector
A model to check pneumonia disease
https://github.com/marcsteven/pheumoniadetector
coreml visison
Last synced: about 2 months ago
JSON representation
A model to check pneumonia disease
- Host: GitHub
- URL: https://github.com/marcsteven/pheumoniadetector
- Owner: MarcSteven
- License: bsd-3-clause
- Created: 2020-04-14T01:50:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-14T08:11:23.000Z (over 4 years ago)
- Last Synced: 2024-04-17T02:03:47.845Z (9 months ago)
- Topics: coreml, visison
- Language: Swift
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PheumoniaDetector
PheumoniaDetector is s a small (17 kB) CoreML Model to scan images for pheumonia. It was trained using CreateML to check the disease pheumonia via xRay photos.
# Usage
`guard let detector = PheumoniaDetector.shared else {
return
}detector.check(image: image, completion: { result in
switch result {
case let .success(pheumoniaConfidence: confidence):
if confidence > 0.9 {
// 😱🙈😏
} else {
// ¯\_(ツ)_/¯
}
default:
break
}
})`# Installation
available through CocoaPods. To install it, simply add the following line to your Podfile:`pod 'PheumoniaDetector'`