Giter Site home page Giter Site logo

salman-aboholiqah / breast-cancer-detection Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hrsht-13/breast-cancer-detection

0.0 0.0 0.0 1.17 MB

This project uses mammograms for breast cancer detection using deep learning techniques.

Python 3.07% Jupyter Notebook 96.93%

breast-cancer-detection's Introduction

Breast-Cancer-Detection

Overview

Among many cancers, breast cancer is the second most common cause of death in women. Early detection and early treatment reduce breast cancer mortality. Mammography plays an important role in breast cancer screening because it can detect early breast masses or calcification regions.

Signs of Breast Cancer:

1. Weight loss

2. Skin changes

3. Pain

4. Breast changes

This project uses mammograms for breast cancer detection using deep learning techniques.

For the diagnosis of breast cancer doctors often use additional tests to find or diagnose breast cancer. A mammogram is an X-ray picture of the breast. Doctors use a mammogram to look for early signs of breast cancer. Regular mammograms are the best tests doctors have to find breast cancer early, sometimes up to three years before it can be felt. A mammogram shows how dense the breasts are. Women with dense breasts have a higher risk of getting breast cancer.

Dataset

The dataset contains breast mammography images(224,224,3). With labels of:

1. Density

The levels of density are: A: (1) Almost entirely fatty indicates that the breasts are almost entirely composed of fat. About 1 in 10 women has this result. B: (2) Scattered areas of fibroglandular density indicates there are some scattered areas of density, but the majority of the breast tissue is nondense. About 4 in 10 women have this result. C: (3) Heterogeneously dense indicates that there are some areas of nondense tissue, but that the majority of the breast tissue is dense. About 4 in 10 women have this result. D: (4) Extremely dense indicates that nearly all of the breast tissue is dense. About 1 in 10 women has this result.

2. Tumour

A: Benign (noncancerous) B: Malignant (cancerous)

Training Images for each Class

Benign

alt text

Malignant

alt text

Image Processing

Since the mammograms looks blury and dull, image preprocessing has been done to increase the sharpness and contrast of the image. atl text

Why Deep-Learning?

AI system studying X-ray mammograms was shown to be better than human experts when it came to predicting whether or not a patient has breast cancer. More specifically, the model was found to be as good as two doctors looking at the images, and better at spotting cancer than a single doctor, while also reducing the number of “false-negative” results. Such systems will never replace medical staff, but would serve as an extra set of eyes, while also being able to work 24/7 without getting tired or making mistakes.

Model Deployment using Gradio

!git clone https://github.com/hrsht-13/Breast-Cancer-Detection.git

%cd Breast-Cancer-Detection/

pip install -r requirements.txt

!python app.py

Open the link to use the app

App Display

1. Web Page

atl text

2. Prediction

atl text

3. Prediction after cropping image (in the app itself)

atl text

Author

breast-cancer-detection's People

Contributors

hrsht-13 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.