ccv
ccv copied to clipboard
C-based/Cached/Core Computer Vision Library, A Modern Computer Vision Library
Build Status
- GitHub Action: |Build Status on GitHub Ubuntu| |Build Status on GitHub macOS|
- Linux x64: |Build Status on Linux|
- Raspberry Pi 4: |Build Status on Raspberry Pi 4|
- Jetson Nano: |Build Status on Jetson Nano|
- AGX Xavier: |Build Status on AGX Xavier|
Backstory
I set to build ccv with a minimalism inspiration. That was back in 2010, out of the frustration with the computer vision library then I was using, ccv was meant to be a much easier to deploy, simpler organized code with a bit caution with dependency hygiene. The simplicity and minimalistic nature at then, made it much easier to integrate into any server-side deployment environments.
Portable and Embeddable
Fast forward to now, the world is quite different from then, but ccv adapts pretty well in this new, mobile-first environment. It now runs on Mac OSX, Linux, FreeBSD, Windows*, iPhone, iPad, Android, Raspberry Pi. In fact, anything that has a proper C compiler probably can run ccv. The majority (with notable exception of convolutional networks, which requires a BLAS library) of ccv will just work with no compilation flags or dependencies.
Modern Computer Vision Algorithms
One core concept of ccv development is application driven. Thus, ccv ends up implementing a handful state-of-art algorithms. It includes a close to state-of-the-art image classifier, a state-of-the-art frontal face detector, reasonable collection of object detectors for pedestrians and cars, a useful text detection algorithm, a long-term general object tracking algorithm, and the long-standing feature point extraction algorithm.
Clean Interface with Cached Image Preprocessing
Many computer vision tasks nowadays consist of quite a few preprocessing layers: image pyramid generation, color space conversion etc. These potentially redundant operations cannot be easily eliminated within a mature API. ccv provides a built-in cache mechanism that, while maintains a clean function interface, effectively does transparent cache for you.
For computer vision community, there is no shortage of good algorithms, good implementation is what it lacks of. After years, we stuck in between either the high-performance, battle-tested but old algorithm implementations, or the new, shining but Matlab algorithms. ccv is my take on this problem, hope you enjoy it.
Deep Learning
https://libnnc.org
License
ccv source code is distributed under BSD 3-clause License.
ccv's data models and documentations are distributed under Creative Commons Attribution 4.0 International License.
.. |Build Status on GitHub Ubuntu| image:: https://github.com/liuliu/ccv/actions/workflows/ubuntu-unit-tests.yaml/badge.svg?branch=unstable :target: https://github.com/liuliu/ccv/actions/workflows/ubuntu-unit-tests.yaml?query=branch%3Aunstable .. |Build Status on GitHub macOS| image:: https://github.com/liuliu/ccv/actions/workflows/macos-unit-tests.yaml/badge.svg?branch=unstable :target: https://github.com/liuliu/ccv/actions/workflows/macos-unit-tests.yaml?query=branch%3Aunstable .. |Build Status on Linux| image:: http://ci.libccv.org/png?builder=linux-x64-runtests :target: http://ci.libccv.org/builders/linux-x64-runtests .. |Build Status on Raspberry Pi 4| image:: http://ci.libccv.org/png?builder=rpi-arm-runtests :target: http://ci.libccv.org/builders/rpi-arm-runtests .. |Build Status on Jetson Nano| image:: http://ci.libccv.org/png?builder=jetson-nano-arm-runtests :target: http://ci.libccv.org/builders/jetson-nano-arm-runtests .. |Build Status on AGX Xavier| image:: http://ci.libccv.org/png?builder=agx-xavier-arm-runtests :target: http://ci.libccv.org/builders/agx-xavier-arm-runtests