MCPcopy Create free account
hub / github.com/alievk/avatarify-desktop

github.com/alievk/avatarify-desktop @v0.10

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.10 ↗ · + Follow
166 symbols 212 edges 56 files 1 documented · 1% updated 2y agov0.10 · 2021-03-07★ 1,25638 open issues

Browse by type

Functions 137 Types & classes 29
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Avatarify Desktop

Successor of Open Avatarify, written in C++.

Getting started

Dependencies

  • Qt
  • Download online installer
  • Run the installer and on the Select Components page select these components:

    • Qt -> Qt 5.15.2. Deselect all components except MSVC 2019 64bit to save disk space
    • Qt -> Developer and Designer Tools -> OpenSSL 1.1.1d Toolkit
  • libtorch. Library for NN inference. Download library here: https://pytorch.org/ (Stable; Windows; C++/Java; 10.2/None). Direct links: release, debug. Extract files to

    • Release: C:\SDKs\libtorch-win-shared-with-deps-1.6.0
    • Debug: C:\SDKs\libtorch-win-shared-with-deps-debug-1.6.0
      Make sure path C:\SDKs\libtorch-win-shared-with-deps-1.6.0\lib (for release) is correct. Remove extra sub-directories if necessary.

Build project

  • Check that you have libtorch at C:\SDKs\
git clone https://github.com/vlivashkin/avatarify-desktop
cd avatarify-desktop
git submodule update --init --recursive
  • Build the project with Qt Creator. Choose MSVC 2019 64-bit kit and Release configuration.
  • Download additional files from here and unpack to C:\Users\[user]\.avatarify. This folder has the following structure:
  • .avatarify\avatars: avatar pictures
  • .avatarify\models: FOMM and landmark detector model weights
  • Download AkVirtualCamera.plugin from here and unpack to [build]/avatarify. Avatarify will register еру plugin on the first run.

How to build installer

(not very clean solution, but at least it works)

  • Build release solution
  • Call make install in cmake-build-release folder. Clean installation files will be located in C:\Program Files\Avatarify
  • Compress folder with 7z and put it in avatarify-desktop\installer\packages\com.avatarify.desktop\data folder
  • You need to make similar archives for models and avatars from C:\Users\[user]\.avatarify and put them to com.avatarify.desktop.models and com.avatarify.desktop.avatars folders
  • Run avatarify-desktop\installer\package_for_windows.bat

Core symbols most depended-on inside this repo

Shape

Method 134
Class 28
Function 3
Enum 1

Languages

C++100%

Modules by API surface

avatarify/src/imagecropper/ImageCropper.cpp18 symbols
avatarify/src/InferenceManager.cpp15 symbols
avatarify/src/camera/AsyncCameraCapture.cpp9 symbols
avatarify/src/predictors/LibtorchFOMM.cpp8 symbols
avatarify/src/camera/crop/KalmanFilter1d.cpp8 symbols
avatarify/src/camera/crop/KalmanFilter.cpp7 symbols
avatarify/src/InferenceWorker.cpp7 symbols
avatarify/src/utils/versionchecker.cpp6 symbols
avatarify/src/utils/cipherbuf.cpp6 symbols
avatarify/src/utils/amplitudelogger.cpp6 symbols
avatarify/src/predictors/LibtorchPredictor.cpp5 symbols
avatarify/src/camera/crop/DlibShapePredictor.cpp4 symbols

For agents

$ claude mcp add avatarify-desktop \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page