C++ Machine Learning

Open-source C++ projects categorized as Machine Learning

Top 23 C++ Machine Learning Projects

Machine Learning
  1. tensorflow

    An Open Source Machine Learning Framework for Everyone

    Project mention: The $100 ChatGPT: Why Karpathy's nanochat Represnts the Next Big Thing | dev.to | 2026-05-04

    TensorFlow: 2.1 million lines

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. tesseract-ocr

    Tesseract Open Source OCR Engine (main repository)

    Project mention: DeepSeek OCR | news.ycombinator.com | 2025-10-19

    How does it compare to Tesseract? https://github.com/tesseract-ocr/tesseract

    I use ocrmypdf (which uses Tesseract). Runs locally and is absolutely fantastic. https://ocrmypdf.readthedocs.io/en/latest/

  4. mediapipe

    Cross-platform, customizable ML solutions for live and streaming media.

    Project mention: Building a Jedi-Style Hand Gesture Interface with TensorFlow.js: Control Your Browser Without Touching Anything | dev.to | 2026-02-09

    In this tutorial, I'll show you how to build a production-ready hand gesture control system using TensorFlow.js and MediaPipe Hands that transforms any webcam into a precision input device.

  5. Caffe

    Caffe: a fast open framework for deep learning.

  6. C-Plus-Plus

    Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.

  7. openpose

    OpenPose: Real-time multi-person keypoint detection library for body, face, hands, and foot estimation

    Project mention: Mastering OpenPose Keypoint Detection: The Ultimate Guide | dev.to | 2025-10-08

    OpenPose GitHub Repository - Official implementation and examples

  8. xgboost

    Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library, for Python, R, Java, Scala, C++ and more. Runs on single machine, Hadoop, Spark, Dask, Flink and DataFlow

    Project mention: Built a Hospital Lenght Of Stay Predictor Web app | dev.to | 2026-02-15
  9. FinceptTerminal

    FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.

    Project mention: Fincept Terminal | news.ycombinator.com | 2026-04-20
  10. PaddlePaddle

    PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)

  11. onnxruntime

    ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator

    Project mention: I Built a Neural Network Engine in C# That Runs in Your Browser - No ONNX Runtime, No JavaScript Bridge, No Native Binaries | dev.to | 2026-05-23

    Half of the answer is technical curiosity. The other half is that the current ML-in-the-browser landscape is dominated by ONNX Runtime Web, which has a fundamental WebGPU device-sharing bug that's been ignored for six months (microsoft/onnxruntime#26107). That bug is a wall for anyone trying to ship more than one model in a single browser session. It pushed me from "I wonder if I could do this" to "I'm doing this."

  12. video2x

    A machine learning-based video super resolution and frame interpolation framework. Est. Hack the Valley II, 2018.

    Project mention: 10 Powerful Open Source AI Tools You Won’t Believe Are Still Free in 2026 | dev.to | 2025-11-03

    GitHub Repository: https://github.com/k4yt3x/video2x

  13. LightGBM

    A fast, distributed, high performance gradient boosting (GBT, GBDT, GBRT, GBM or MART) framework based on decision tree algorithms, used for ranking, classification and many other machine learning tasks.

    Project mention: 《LightGBM: 一种高效的梯度提升决策树算法》论文(A Highly Efficient Gradient Boosting Decision Tree) | dev.to | 2025-10-15

    代码:https://github.com/microsoft/LightGBM

  14. MNN

    MNN: A blazing-fast, lightweight inference engine battle-tested by Alibaba, powering high-performance on-device LLMs and Edge AI.

    Project mention: MNN – fast, lightweight deep learning framework | news.ycombinator.com | 2026-01-21
  15. ggml

    Tensor library for machine learning

    Project mention: Local LLM Inference on Windows 11 and AMD GPU using WSL and llama.cpp | dev.to | 2026-03-04

    Manifesto / ggml / ops

  16. Dlib

    A toolkit for making real world machine learning and data analysis applications in C++

  17. Open3D

    Open3D: A Modern Library for 3D Data Processing

    Project mention: Processing Point Clouds with Python: A Beginner’s Guide | dev.to | 2025-08-21

    The most popular library for point cloud processing in Python is Open3D.

  18. oneflow

    OneFlow is a deep learning framework designed to be user-friendly, scalable and efficient.

  19. deeplake

    Deeplake is AI Data Runtime for Agents. It provides serverless postgres with a multimodal datalake, enabling scalable retrieval and training.

    Project mention: What I Learned Comparing Zilliz Cloud and Deep Lake for Scalable Vector Search | dev.to | 2025-06-09

    As I scaled up a semantic search engine for multi-modal content, I found myself at a fork in the road. Should I lean into a purpose-built vector database like Zilliz Cloud, or embrace a more flexible data lake approach with Deep Lake? These tools promise vector search at scale—but they come from fundamentally different architectural philosophies.

  20. catboost

    A fast, scalable, high performance Gradient Boosting on Decision Trees library, used for ranking, classification, regression and other machine learning tasks for Python, R, Java, C++. Supports computation on CPU and GPU.

  21. jetson-inference

    Hello AI World guide to deploying deep-learning inference networks and deep vision primitives with TensorRT and NVIDIA Jetson.

  22. vowpal_wabbit

    Vowpal Wabbit is a machine learning system which pushes the frontier of machine learning with techniques such as online, hashing, allreduce, reductions, learning2search, active, and interactive learning.

  23. CCV

    C-based/Cached/Core Computer Vision Library, A Modern Computer Vision Library

  24. interpret

    Fit interpretable models. Explain blackbox machine learning.

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).

C++ Machine Learning discussion

Log in or Post with

C++ Machine Learning related posts

  • NeuralNote

    1 project | news.ycombinator.com | 23 May 2026
  • Pynear 2.3 Is Out

    1 project | news.ycombinator.com | 22 May 2026
  • Mojo 1.0 Beta

    16 projects | news.ycombinator.com | 7 May 2026
  • Building a multi-step AI pipeline workspace + 2 OSS fixes to RocketRide server

    3 projects | dev.to | 5 May 2026
  • They Don't Have the Money (And Neither Do You): The Coming Era of Small Models

    1 project | dev.to | 4 May 2026
  • Embedding Local LLMs in Your Mobile App

    2 projects | dev.to | 26 Mar 2026
  • Why 70% of Americans See AI as a Wealth Inequality Machine: The Developer's Role in Building Fairer Tech

    4 projects | dev.to | 19 Mar 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 5 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 tensorflow 195,308
2 tesseract-ocr 74,518
3 mediapipe 35,461
4 Caffe 34,622
5 C-Plus-Plus 34,302
6 openpose 34,056
7 xgboost 28,431
8 FinceptTerminal 24,566
9 PaddlePaddle 23,924
10 onnxruntime 20,726
11 video2x 20,045
12 LightGBM 18,425
13 MNN 15,411
14 ggml 14,768
15 Dlib 14,393
16 Open3D 13,669
17 oneflow 9,398
18 deeplake 9,153
19 catboost 8,973
20 jetson-inference 8,874
21 vowpal_wabbit 8,681
22 CCV 7,217
23 interpret 6,868

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?