Skip to content

Himanshi0827/Report-Analysis-and-Health-Suggestions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Report-Analysis-and-Health-Suggestions

Report Analysis and Health Suggestions

This Flask application is designed to perform analysis on uploaded reports and provide health suggestions based on the extracted data. The project utilizes PDF processing with pdfplumber, data manipulation with pandas, and visualization with matplotlib.

Features

Upload PDF reports for analysis. Extract data from PDF reports and convert it into CSV format. Perform health analysis based on extracted data. Provide personalized health suggestions and recommendations. Secure file uploads using Flask and file validation. Setup Instructions Clone the repository to your local machine:

bash

git clone https://github.com/your-username/report-analysis.git Navigate to the project directory:

bash

cd report-analysis Create a virtual environment (optional but recommended):

bash

python -m venv venv Activate the virtual environment:

On Windows:

bash

venv\Scripts\activate On macOS/Linux:

bash

source venv/bin/activate Install the required dependencies:

bash

pip install -r requirements.txt Run the Flask application:

bash

flask run Open your web browser and go to http://localhost:5000 to access the application.

Usage Upload a PDF report for analysis.

Select the type of report (e.g., blood test, COVID report, blood pressure).

Receive personalized health suggestions based on the analysis of the uploaded report.

View the extracted data and recommendations on the result page.

Download the CSV file containing the extracted data for further analysis if needed.

Project Structure

app.py: Contains the Flask application logic, routes, and PDF processing functions. templates/: Directory containing HTML templates for the web interface. uploads/: Temporary directory for storing uploaded PDF files. static/: Directory for static files like CSS stylesheets and JavaScript scripts.

Acknowledgements

Flask: Lightweight web framework for Python. pdfplumber: Library for extracting text and metadata from PDF files. pandas: Data manipulation and analysis library. matplotlib: Plotting and visualization library for Python.

About

Upload PDF reports for analysis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published