FractureDetector Package is a CNN model that checks if a X-Ray image shows a fracture.
Project description
FractureDetector Package
FractureDetector Package is a CNN model that checks if a X-Ray image shows a fracture.
Additionally it also classifies a detected fracture(if any) into the following categories:
Avulsion fracture, Comminuted fracture, Fracture Dislocation, Greenstick fracture, Hairline Fracture, Healthy Bone, Impacted fracture, Longitudinal fracture, Oblique fracture, Pathological fracture, Spiral Fracture.
Installation
You can install FractureDetector from PyPi using pip or pip3 as
pip install FractureDetector
or
pip3 install FractureDetector
Modules
The FractureDetector package contains 1 module(utils) that contains a class that contains the FractureDetector class.
from FractureDetector import FractureDetector.utils.FractureDetector
The Fracture detector class takes image object and checks it for any fractures.
f_detector = FractureDetector(img)#img is the X-Ray image
It returns a FractureDetector object.
Attributes and Functions
-
FractureDetector.category: A string of the category of the X-Ray(Avulsion fracture, Comminuted fracture, Fracture Dislocation, Greenstick fracture, Hairline Fracture, Healthy Bone, Impacted fracture, Longitudinal fracture, Oblique fracture, Pathological fracture, Spiral Fracture.)
-
FractureDetector.hasFracture(): Returns a boolean value. True if X-Ray shows a fracture, False otherwise.
-
FractureDetector.fractureType(): Returns a string representing the type of Fracture.
If no fracture detected returns "".
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file FractureDetector-0.0.11-py3-none-any.whl.
File metadata
- Download URL: FractureDetector-0.0.11-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46b9c343add8b4ba7295adc89d61a8cff5e67641ddc5f516068d37622aca1c48
|
|
| MD5 |
eb20cfc4f2f15652a0d3467de9f6c2da
|
|
| BLAKE2b-256 |
43a232b2fa7b07a00943ae2b477eda296c89d31e1d921ba5490378f8b8c63dcf
|