-
Clone the repository to your local machine:
git clone https://github.com/Spiral-Memory/MemoryLane.git
-
Navigate to the project directory:
cd MemoryLane
-
Install the required dependencies using pip:
pip install -r requirements.txt
- Navigate to the main file of the project and run the file.
The main file of the project contains a Python script that interacts with an Assistance Bot. Here's how to use it:
-
Run the script:
python main.py
-
You will see the Assistance Bot welcome message and a menu of options.
-
Input your choice by typing the corresponding number and pressing Enter:
- To add a new relative, type
1
. - To start recognition, type
2
. - To exit the program, type
3
.
- To add a new relative, type
-
If you choose option
1
to add a new relative:- Enter the name, address, relationship, and gender of the relative when prompted.
- Upload images of the relative as instructed.
- The script will generate embeddings and update the face detector.
-
If you choose option
2
to start recognition:- Choose the mode by typing
1
for voice mode or2
for text mode. - If you choose voice mode, the script will activate voice recognition.
- If you choose text mode, the script will activate text recognition.
- Choose the mode by typing
-
If you choose option
3
, the program will exit. -
If you input an invalid choice, the program will display "Invalid Choice" and prompt you again.
Follow the on-screen instructions and prompts in the terminal to interact with the Assistance Bot.