Detect"HER"
Early Detection, Smarter Protection.
Created on 6th September 2025
•
Detect"HER"
Early Detection, Smarter Protection.
The problem Detect"HER" solves
Breast Cancer Detection AI Model
This project is an AI-powered breast cancer detection system designed to assist in the early diagnosis of breast cancer. Early detection is critical for improving treatment outcomes, and this model helps achieve that with high accuracy.
Objective: Provide a fast and reliable tool to predict whether a tumor is benign or malignant based on medical data.
Accuracy: The trained model achieves 97% accuracy, ensuring trustworthy predictions.
Benefits:
Enables early detection of breast cancer.
Supports doctors in making more informed decisions.
Helps in reducing delays in diagnosis, potentially saving lives.
How it Works:
The user inputs medical parameters into the web interface.
The trained AI model analyzes the data.
The model predicts the tumor type and displays the result: Benign or Malignant.
Technologies Used:
Python & Flask for the web application
Machine Learning (Scikit-learn) for the model
HTML/CSS for frontend interface
Pickle for model serialization
Challenges we ran into
While building this AI breast cancer detection project, I faced a few technical challenges:
Git & Repository Management
Problem: I had difficulty pushing my local project to GitHub because the remote repository already had files (like README.md), which caused src refspec main does not match any and merge conflicts.
Solution: I resolved this by pulling the remote changes with --allow-unrelated-histories, merging them locally, and then pushing my branch successfully.
Author Identity in Git
Problem: Git initially blocked commits because my author identity was not set.
Solution: I configured my Git username and email globally using:
git config --global user.name "Arghyadutta253"
git config --global user.email "[email protected]"
Connectivity & Deployment Challenges
Problem: Deploying the Flask app to a permanent URL was tricky due to server requirements and connectivity limitations in free hosting platforms.
Solution: I explored multiple hosting options like PythonAnywhere, Render, and Railway and structured my app to work with low bandwidth and local deployment if needed.
Flask Template Rendering
Problem: Initially, my templates/ folder and HTML files didn’t show on GitHub after manual upload.
Solution: I ensured the templates/ folder had at least one HTML file, added it through Git, and pushed the full project.
✅ These hurdles helped me learn proper Git workflows, Flask project structuring, and deployment strategies, making the project more robust and reliable.