Skip to content
S

Swastya Setu

AI Powered Disease Prediction and Hospital Finder

Created on 7th March 2026

•

S

Swastya Setu

AI Powered Disease Prediction and Hospital Finder

The problem Swastya Setu solves

Many people experience symptoms such as fever, headache, cough, or fatigue but are often unsure about what illness they might have. In many cases, people ignore early symptoms due to lack of awareness, which can lead to serious health complications later. Another major challenge is that during emergencies or sudden health issues, people spend valuable time searching for nearby hospitals or medical facilities.

Our project addresses these problems by providing an AI-powered health assistance system that helps users quickly understand their possible health condition and find medical help nearby.

The system allows users to enter their symptoms, and an Artificial Intelligence model analyzes these symptoms to predict possible diseases. This helps users gain early insight into their health condition and encourages them to seek medical attention when necessary.

In addition to disease prediction, the system also provides location-based hospital recommendations. Using an interactive map, the platform displays nearby hospitals so that users can easily locate and navigate to the nearest medical facility without wasting time searching online.

To further improve emergency response, the system includes an SOS feature that allows users to quickly signal for help during urgent situations.

Overall, this project makes healthcare guidance faster, more accessible, and more efficient by combining machine learning, location services, and web technology into a single intelligent platform. It helps users make informed decisions about their health and ensures that medical assistance can be reached quickly when needed.

Challenges we ran into

While developing this project, we encountered several technical challenges related to integrating different technologies such as machine learning, backend services, databases, and map-based visualization.

One of the major challenges was integrating the AI model with the web application. The machine learning model was developed in Python using Scikit-learn, while the web backend was built using PHP. Since these technologies run in different environments, we needed to create a communication bridge between them. We solved this by setting up a Python prediction API running on a local server, and the PHP backend sends symptom data to this API using HTTP requests. The API then returns the predicted disease in JSON format.

Another challenge was preparing the symptom data in the correct format for the AI model. The dataset contains 132 symptoms, and the model expects the input in a specific binary format. We implemented a conversion system that transforms user-entered symptoms into the required format before sending them to the prediction model.

We also faced difficulties while implementing the hospital location mapping system. Initially, displaying hospitals dynamically on the map was challenging. To solve this, we stored hospital details including latitude and longitude in a MySQL database, and used Leaflet.js with OpenStreetMap to render the hospital locations as markers on the map.

Additionally, we had to ensure that the system responds quickly and provides accurate predictions. This required testing the machine learning model, validating the dataset, and optimizing the communication between the frontend, backend, and AI service.

Overcoming these challenges helped us successfully integrate AI prediction, database management, and geolocation services into one complete healthcare assistance system.

Discussion

Builders also viewed

See more projects on Devfolio