Skip to main content

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

  1. 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.)

  2. FractureDetector.hasFracture(): Returns a boolean value. True if X-Ray shows a fracture, False otherwise.

  3. FractureDetector.fractureType(): Returns a string representing the type of Fracture.

If no fracture detected returns "".

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

FractureDetector-0.0.11-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file FractureDetector-0.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for FractureDetector-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 46b9c343add8b4ba7295adc89d61a8cff5e67641ddc5f516068d37622aca1c48
MD5 eb20cfc4f2f15652a0d3467de9f6c2da
BLAKE2b-256 43a232b2fa7b07a00943ae2b477eda296c89d31e1d921ba5490378f8b8c63dcf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page