matrixsearch

run a search for images just like neo in the matrix

Language: Python 0 🍴 0 Updated: Jul 9, 2023
🔄 Data refreshed from GitHub

Setup Instructions

1. Clone the repository

First, clone the repository containing the scripts to your local machine. You can do this by using the following command in your terminal:

bash
git clone https://github.com/actuallyrizzn/matrixsearch

Replace with the URL of your Git repository.

2. Set up a virtual environment (optional, but recommended)

To prevent your project's dependencies from interfering with your other Python projects, it's best to create a virtual environment. Here's how to do it:

bash
python3 -m venv myenv

And then activate it with:

``bash source myenv/bin/activate # On Windows, use myenv\Scripts\activate

3. Install necessary Python packages

The scripts require several Python packages. Install them with:

bash pip install google-cloud-vision python-dotenv requests tqdm opencv-python Pillow beautifulsoup4 `

4. Set up Google Cloud Vision API

You need to set up a Google Cloud Project, enable the Cloud Vision API, and create an API key file (.json file):