Skip to content

skywalker0525/Apriltag_distance_detection

Repository files navigation

Environment Setup

This section guides you through setting up the development environment necessary to run this project. Follow these steps to ensure that your setup is correct.

1. Install CMake

apriltag requires CMake to build some of its components. Install CMake using the appropriate command for your operating system:

For Ubuntu/Debian

sudo apt update
sudo apt install cmake

For Fedora/RHEL/CentOS

sudo dnf install cmake

For macOS

brew install cmake

2. Set Up a Conda Environment

Creating a Conda environment is recommended to manage the project's dependencies efficiently:

conda create --name myenv python=3.8  # You can change `myenv` to any name you prefer
conda activate myenv

3. Install Required Python Packages

Install all the required Python packages using Conda or pip. If you are using Conda, run:

pip install -r requirements.txt

4. Verify Installation

Ensure that all packages are installed correctly by running the following command:

python -c "import cv2, numpy, apriltag; print('All packages installed correctly!')"

You should see "All packages installed correctly!" printed if the installation was successful.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors