Your customized AI characters - personal assistants on any hardware! This project aims to be a framework to enable the creation of AI characters that can be used in games, simulations, virtual assistants, and other applications without depending on specific platforms, cloud services, or specialized hardware.
Clone the repository:
git clone https://github.com/nrl-ai/CustomChar --recursive
cd CustomCharInstall dependencies:
On macOS: Using Homebrew
brew install sdl2 glew glfw3
brew install opencv
brew install ffmpeg # For video recordingOn Ubuntu:
sudo apt-get install libsdl2-dev libglew-dev libglfw3-dev
sudo apt-get install libopencv-dev
sudo apt-get install ffmpeg # For video recordingOn Windows: Using vcpkg, Git Bash, and FFmpeg.
vcpkg install sdl2:x64-windows glew:x64-windows glfw3:x64-windows
vcpkg install opencv[contrib,nonfree,ffmpeg,ipp]:x64-windows --recurseBuild the CustomChar executable:
mkdir build
cd build
cmake ..
makeDownload the models before running the program:
bash scripts/download-models.shRun the program:
./customcharStep 1: Install doxygen first.
Step 2: Build the documentation:
doxygen Doxyfile.inStep 3: Deploy html documentation from docs/_build/html.
Step 4: Our latest documentation is deployed at https://docs.customchar.com.
We welcome all contributions to this project.
scripts/format-code.sh to format the code.pre-commit install # Install pre-commit hook
bash scripts/format-code.sh # Format code (C++ styling)