This repository contains two applications:
- A Pharmacy Finder application to locate nearby pharmacies
- A Voice-to-Text Medical Assistant for transcribing and analyzing medical conversations
A Python application that helps users find nearby pharmacies using the Google Places API. The application features a user-friendly GUI with filtering options and detailed pharmacy information.
-
Location Services:
- Auto-locate using IP-based geolocation
- Manual location input (address, city, or coordinates)
- Current location display with coordinates
-
Search Filters:
- Adjustable search radius (0.5km to 5km)
- "Open Now" filter to show only currently open pharmacies
- Minimum rating filter (0 to 4.5 stars)
-
Results Display:
- Pharmacy name and address
- Current open/closed status
- Google Maps rating
- Direct link to Google Maps
- Number of results found and filtered
-
Install Python Dependencies:
pip install -r requirements.txt
-
Google Places API Setup:
- Go to Google Cloud Console
- Create a new project or select an existing one
- Enable the Places API for your project
- Create an API key
- Replace the API key in
pharmacy/nearest.py:self.API_KEY = 'YOUR_API_KEY_HERE'
-
Run the Application:
python pharmacy/nearest.py
-
Setting Your Location:
- Click "Auto-locate" to automatically detect your location
- OR enter an address/city in the text field and click "Set Location"
-
Adjusting Search Filters:
- Select search radius from dropdown (0.5km to 5km)
- Check "Open Now" to show only currently open pharmacies
- Select minimum rating if desired (0 to 4.5 stars)
-
Searching:
- Click "Search" to find pharmacies
- Results will show in the main window
- Each result includes:
- Pharmacy name
- Address
- Rating
- Open/Closed status
- Link to Google Maps
-
Troubleshooting:
- If no results appear, try:
- Increasing the search radius
- Removing filters (uncheck "Open Now" or lower minimum rating)
- Verifying your location is correct
- Checking your internet connection
- If no results appear, try:
A Python application that transcribes medical conversations and provides analysis using OpenAI's Whisper model.
-
Voice Recording:
- Real-time audio recording
- Automatic speech detection
- Support for multiple audio input devices
-
Transcription:
- Accurate speech-to-text conversion
- Medical terminology recognition
- Support for multiple languages
-
Analysis:
- Medical conversation summarization
- Key points extraction
- Important medical terms highlighting
-
Starting the Application:
python gui.py
-
Recording Audio:
- Click "Start Recording" to begin capturing audio
- Speak clearly into your microphone
- Click "Stop Recording" when finished
-
Transcription:
- The application will automatically transcribe your recording
- Transcribed text appears in the main window
- Wait for processing to complete (indicated by status messages)
-
Viewing Results:
- Transcribed text is displayed in the main text area
- Analysis and key points are shown below the transcription
- Use the scroll bar to view long transcriptions
-
Troubleshooting Audio:
- Ensure your microphone is properly connected
- Check your system's audio input settings
- Verify microphone permissions are enabled
- geopy==2.4.1: For geocoding addresses (Pharmacy Finder)
- requests==2.31.0: For API requests (Pharmacy Finder)
- tk==0.1.0: For the graphical interface (Both applications)
- openai-whisper: For speech recognition (Voice-to-Text Assistant)
- pyaudio: For audio recording (Voice-to-Text Assistant)
- numpy: For data processing (Both applications)
- torch: For machine learning models (Voice-to-Text Assistant)
- Both applications require an active internet connection
- Pharmacy Finder depends on Google Places API quota and billing status
- Voice-to-Text Assistant requires a working microphone
- Location accuracy may vary based on the geolocation method used
How to run:
brew install ffmpeg
chmod +x start_pharmacy.sh && ./start_pharmacy.sh
cd sidd && pip install -r requirements.txt && python server.py
cd sidd && pip install -r requirements.txt
npm i firebase
python main.py
cd sidd && npm install && npm run dev