C++ Artificial intelligence

Open-source C++ projects categorized as Artificial intelligence

Top 23 C++ Artificial intelligence Projects

  • CNTK

    Microsoft Cognitive Toolkit (CNTK), an open source deep-learning toolkit

    Project mention: Worldwide building footprints derived from satellite imagery from Microsoft | reddit.com/r/gis | 2022-05-20
  • ncnn

    ncnn is a high-performance neural network inference framework optimized for the mobile platform

    Project mention: Esp32 tensorflow lite | reddit.com/r/esp32 | 2022-12-01

    ncnn home page: https://github.com/Tencent/ncnn

  • Zigi

    Delete the most useless function ever: context switching.. Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.

  • AirSim

    Open source simulator for autonomous vehicles built on Unreal Engine / Unity, from Microsoft AI & Research

    Project mention: Airsim, ROS, can msg be shared between packages/nodes ? | reddit.com/r/ROS | 2022-11-27

    Hi, I implemented path planner as node in ROS. Now I want to try the route planner in the AirSim simulator. During path execution, I want to get outputs from sensors such as GPS, IMU and Lidar. AirSim come with build in wrapper (https://github.com/microsoft/AirSim/tree/main/ros/src/airsim_ros_pkgs) that create topic and services once launched. Wrapper create two nodes, one to obtain sensors data and one to control drone. Wrapper is build in AirSim directory and path planer is in another. Is it possible to share msg so I can call and subscribe to wrapper topics in my planner node ? Or do I have to write msg for every topic, service I want to use ?

  • carla

    Open-source simulator for autonomous driving research.

    Project mention: Best Self Driving Cars Projects. | reddit.com/r/SelfDrivingCars | 2022-09-06

    It sounds like you're looking for something like the CARLA simulator.

  • tiny-cnn

    header only, dependency-free deep learning framework in C++14

    Project mention: Creating AI without python | reddit.com/r/artificial | 2022-05-07
  • Recast/Detour

    Navigation-mesh Toolset for Games

    Project mention: How to generate a collision mesh for a given mesh (aimesh) using Assimp? | reddit.com/r/gamedev | 2022-11-06

    https://github.com/recastnavigation/recastnavigation There is also a library called Yuka that is web based that can generate navmeshes i think: https://mugen87.github.io/yuka/docs/NavMesh.html

  • interpret

    Fit interpretable models. Explain blackbox machine learning.

    Project mention: [D] Alternatives to the shap explainability package | reddit.com/r/MachineLearning | 2022-11-25

    Maybe InterpretML? It's developed and maintained by Microsoft Research and consolidates a lot of different explainability methods.

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.



    Project mention: Changing std:sort at Google’s Scale and Beyond | news.ycombinator.com | 2022-04-20

    The function is trying to get the median, which is not defined for an empty set. With this particular implementation, there is an assert for that:


    Unrelatedly, but from the same section:

    > Fixes are trivial, access the nth element only after the call being made. Be careful.

    Wouldn't the proper fix to do the nth_element for the larget element first (for those cases that don't do that already) and then adjust the end to be the begin + larger_n for the second nth_element call? Otherwise the second call will check [begin + larger_n, end) again for no reason at all.

  • redtail

    Perception and AI components for autonomous mobile robotics.

  • frugally-deep

    Header-only library for using Keras (TensorFlow) models in C++.

    Project mention: Handwritten digit recognition using CircuitPython, Raspberry Pi Pico, OV7670 and 120x160 TFT LCD. r/circuitpython - Handwritten digit recognition using CircuitPython, Raspberry Pi Pico, OV7670 and 120x160 TFT LCD. | reddit.com/r/raspberry_pi | 2022-09-04
  • Veles

    Distributed machine learning platform

  • 3DWorld

    3D Procedural Game Engine Using OpenGL

    Project mention: Hex Engine: Skeletal Animations | reddit.com/r/gameenginedevs | 2022-11-15

    Okay, thanks. I'm actually not sure which of our projects is further along. If you're curious, I have my code here: https://github.com/fegennari/3DWorld/blob/master/src/assimp_wrap.cpp

  • AI-Toolbox

    A C++ framework for MDPs and POMDPs with Python bindings

    Project mention: Impact of using sockets to communicate between Python and RL environment | reddit.com/r/reinforcementlearning | 2022-10-02

    Makes sense. I was just wondering if someone had any comparisons to share. I will create a toy environment in Unreal and compare integrating RL C++ libraries (looking at AI-Toolbox and mlpack) vs using Python with socket communication.

  • yarp

    YARP - Yet Another Robot Platform

    Project mention: YARP 3.6.0 Released | reddit.com/r/robotics | 2021-12-31
  • btsk

    Behavior Tree Starter Kit

    Project mention: AI Behavior Trees in Unreal Engine c++? | reddit.com/r/gamedev | 2022-11-19
  • GPBoost

    Combining tree-boosting with Gaussian process and mixed effects models

  • BayesOpt

    BayesOpt: A toolbox for bayesian optimization, experimental design and stochastic bandits.

  • df-ai

    Dwarf Fortress + Artificial Intelligence

    Project mention: Looking for a simulator game I don't involve myself in(PC) | reddit.com/r/gamingsuggestions | 2022-08-07

    dwarf fortress should be rly good for this so i had a look if there is something that makes it play itself and i found df-ai.

  • Native System Automation

    Native cross-platform system automation (by Robot)

  • megaverse

    High-throughput simulation platform for Artificial Intelligence reseach

  • biteopt

    Derivative-Free Optimization Method for Global Optimization (C++)


    A GPU (CUDA) based Artificial Neural Network library

  • Random-Face-Generator

    A Cross-Platform(Web, Android, iOS, Linux and Macos) app to Generate Faces of People (These people don't actually exist) made using Flutter.

    Project mention: Random Face Generator - A Cross-Platform app to Generate Faces of non-existing People. | reddit.com/r/CKsTechNews | 2022-02-21
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-12-01.

C++ Artificial intelligence related posts


What are some of the best open-source Artificial intelligence projects in C++? This list will help you:

Project Stars
1 CNTK 17,256
2 ncnn 16,041
3 AirSim 13,730
4 carla 8,547
5 tiny-cnn 5,615
6 Recast/Detour 5,171
7 interpret 5,127
8 SHOGUN 2,915
9 redtail 943
10 frugally-deep 917
11 Veles 898
12 3DWorld 800
13 AI-Toolbox 580
14 yarp 444
15 btsk 407
16 GPBoost 367
17 BayesOpt 337
18 df-ai 205
19 Native System Automation 198
20 megaverse 190
21 biteopt 92
22 ANNetGPGPU 91
23 Random-Face-Generator 88
Free webinar: The Power of Clean C++
Are you ready to take your C++ code to the next level? Join Sonar on December 7th for our live webinar as we discuss how to get your code clean - and stay clean - with minimal effort and without being overloaded with warnings. Register now!