This repository contains an iOS application designed to aid with navigation through a grocery store with the optimal store route. The app provides AI-assisted guidance throughout the store and features human-like navigation instructions from Cartesia AI.
- Create Optimal Store Routes: Enter your list and store address, get a route image.
- Voice-Guided Navigation: Use Cartesia AI for directions and navigation.
- Real-Time Location Tracking: Track your position inside the store (optional).
- Account Management: Store user preferences and shopping frequency.
- Clone the repository and open in Xcode.
- Add your API key in
TASImageView.swift
. - Build and run the app on an iOS 17.5 device.
- TASContentView.swift: Main view where users input grocery lists and store details.
- TASImageView.swift: Displays the route image returned by the API.
- TASDirectionsView.swift: Voice navigation for in-store guidance.
- TASAccountView.swift: User account settings (temporary structure).
- TASNavigationView.swift: Tracks the user’s movement using CoreLocation.
- Open the app and enter your grocery list and store address.
- Generate the optimal route, which will be displayed as an image.
- Follow voice instructions for navigation through the store.
- Track your path in real-time as you shop.
- Route Creation API: Uses a POST request to generate an image of the optimized route based on the state, address, and grocery list.
POST https://oj35b6kjt7.execute-api.us-west-2.amazonaws.com/default/create_route
{
"state": "california",
"address": "16858 Golden Valley Pkwy, Lathrop, CA 95330-8535",
"grocery_list": ["bedding", "baby", "snacks", "pets"]
}
This project is licensed under the MIT License. Requirements for running this includes having iOS 14.0+, Swift 5.0+, and Xcode 12.0+