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: Fixing Fatal Process Aborts in TensorFlow Lookup Tables | dev.to | 2026-09-11

    While investigating open issues in the tensorflow/tensorflow repository, I found an issue (#125503) where calling lookup table export operations with mismatched data types triggered an immediate crash.

  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: Hacking Your Own Keyboard: Building a Custom Screenshot Tool in Python When Windows Won't Let You Own Win+Shift+S | dev.to | 2026-11-06

    To run this, you need to have pytesseract installed and the Tesseract OCR engine separately. You can download it from GitHub or use a package manager. Also, img.save_to_clipboard() is a method in Pillow that works on Windows to put the image on the clipboard.

  4. mediapipe

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

    Project mention: Step Up! My phone told me I can't dance | dev.to | 2026-10-18

    Body tracking: MediaPipe by Google (Apache 2.0).

  5. C-Plus-Plus

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

  6. Caffe

    Caffe: a fast open framework for deep learning.

  7. openpose

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

  8. 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
  9. 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: XGBoost: gradient boosting que dominó Kaggle y sobrevivió al hype | dev.to | 2026-06-29
  10. PaddlePaddle

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

  11. video2x

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

  12. onnxruntime

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

    Project mention: Immich ML Privacy Issue: Microsoft Telemetry Enabled by Default via ONNX Runtime, Solution Needed | dev.to | 2026-11-04

    Immich Machine Learning leverages ONNX Runtime, a high-performance library for machine learning inference. By design, ONNX Runtime enables telemetry by default, as explicitly stated in its privacy documentation. Upon deployment of Immich’s Docker container, this telemetry mechanism remains active, initiating DNS queries to Microsoft’s telemetry endpoint (mobile.events.data.microsoft.com). These queries occur during runtime, irrespective of whether the application processes sensitive data, such as personal photographs.

  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.

  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: Stop Guessing Your Context Budget: Practical KV Cache Sizing for Local LLMs | dev.to | 2026-10-28

    ggml block definitions for q8_0, q5_1, q4_1 and q4_0: https://github.com/ggml-org/ggml/blob/master/src/ggml-common.h

  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

  18. oneflow

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

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

    Project mention: XGBoost: gradient boosting que dominó Kaggle y sobrevivió al hype | dev.to | 2026-06-29
  20. jetson-inference

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

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

    Project mention: Microsoft Researcher John Langford Exits. AI Frontiers Group Declared Finished | news.ycombinator.com | 2026-11-07

    John Langford was the creator of "VW" ("Vee Dub", or "Vowpal Wabbit"), an ML framework that was quite efficient back in the day ( ~ 20 years ago ).

    https://vowpalwabbit.org/

  22. CCV

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

  23. interpret

    Fit interpretable models. Explain blackbox machine learning.

  24. pixie

    Instant Kubernetes-Native Application Observability

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

  • Microsoft Researcher John Langford Exits. AI Frontiers Group Declared Finished

    1 project | news.ycombinator.com | 7 Nov 2026
  • Stop Guessing Your Context Budget: Practical KV Cache Sizing for Local LLMs

    2 projects | dev.to | 28 Oct 2026
  • Why Small AI Models Are Becoming Essential Developer Tools: Lessons from Property Deeds, Debugging, and Email Assistants

    2 projects | dev.to | 25 Oct 2026
  • Cómo un modelo de IA de 115 MB tumbaba Safari en el iPhone

    2 projects | dev.to | 24 Oct 2026
  • Offline speech-to-text for Flutter, with no server and no API key

    4 projects | dev.to | 22 Oct 2026
  • WatchTower : an open-weight agent for video incident investigation

    3 projects | dev.to | 9 Oct 2026
  • Mozilla shutting down Solo AI website creator

    1 project | news.ycombinator.com | 2 Oct 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 9 Nov 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 201,394
2 tesseract-ocr 77,406
3 mediapipe 37,564
4 C-Plus-Plus 34,866
5 Caffe 34,553
6 openpose 34,549
7 FinceptTerminal 33,333
8 xgboost 28,957
9 PaddlePaddle 24,138
10 video2x 22,649
11 onnxruntime 22,253
12 LightGBM 18,954
13 MNN 16,419
14 ggml 15,590
15 Dlib 14,472
16 Open3D 14,181
17 oneflow 9,439
18 catboost 9,194
19 jetson-inference 9,014
20 vowpal_wabbit 8,733
21 CCV 7,252
22 interpret 6,976
23 pixie 6,556

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?