All Projects → belijzajac → TermColor

belijzajac / TermColor

Licence: MIT License
🎨 Effortlessly generate color-schemes for terminal emulators by a single drop of an image!

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to TermColor

headunit-gui
GUI developement repo for my Headunit App
Stars: ✭ 17 (-57.5%)
Mutual labels:  qt5
maxLibQt
A collection of C++ classes and QtQuick QML components for use with the Qt framework.
Stars: ✭ 18 (-55%)
Mutual labels:  qt5
qak
Qak - the QML Aid Kit
Stars: ✭ 20 (-50%)
Mutual labels:  qt5
QSimpleScada
Qt based simple SCADA framework, with dashboard, static and dynamic components
Stars: ✭ 152 (+280%)
Mutual labels:  qt5
QtIosCMake
📱 Deploy Qt Application for iOS with a single macro when using CMake.
Stars: ✭ 35 (-12.5%)
Mutual labels:  qt5
QDiscord
QDiscord - An unofficial C++ and Qt wrapper for the Discord API.
Stars: ✭ 21 (-47.5%)
Mutual labels:  qt5
Cryptix
A small application to quickly encrypt and decrypt text, using known basic methods (Caesar, Polybe...)
Stars: ✭ 14 (-65%)
Mutual labels:  qt5
ANMP
multi-channel loopable video game music player for nerds and audiophiles
Stars: ✭ 16 (-60%)
Mutual labels:  qt5
Qt5-MusicPlayer
基于Qt5开发的一个小巧精美的本地音乐播放器。代码注释详细,适合作为一个用于入门的Qt5实战项目。
Stars: ✭ 136 (+240%)
Mutual labels:  qt5
aws-sdk-qt
AWS SDK for Qt
Stars: ✭ 31 (-22.5%)
Mutual labels:  qt5
CuteTorrent
BitTorrent client based on libtorrent-rasterbar with user-friendly interface
Stars: ✭ 27 (-32.5%)
Mutual labels:  qt5
go-sudoku
A web-based sudoku solver powered by OpenCV and Go
Stars: ✭ 17 (-57.5%)
Mutual labels:  opencv3
qt-openzwave
QT5 Wrapper for OpenZWave
Stars: ✭ 115 (+187.5%)
Mutual labels:  qt5
relational
Educational tool for relational algebra
Stars: ✭ 70 (+75%)
Mutual labels:  qt5
BBearEditor-2.0
My own 3D engine & editor in order to learn graphics algorithms and game engine architecture.
Stars: ✭ 32 (-20%)
Mutual labels:  qt5
Face-Recognition-Class-Attendance-System
基于人脸识别的课堂考勤系统v2.0
Stars: ✭ 129 (+222.5%)
Mutual labels:  qt5
nymea
The nymea IoT server repository.
Stars: ✭ 89 (+122.5%)
Mutual labels:  qt5
zNotes
zNotes is a lightweight cross-platform application for notes management.
Stars: ✭ 17 (-57.5%)
Mutual labels:  qt5
UDTStudio
UniSwarm Tools for UDT interface and CANOpen in Qt5
Stars: ✭ 13 (-67.5%)
Mutual labels:  qt5
planes
Variant of battleships game
Stars: ✭ 17 (-57.5%)
Mutual labels:  qt5

TermColor

Build Status Codacy Badge License

TermColor-preview

YouTube link

About

Effortlessly generate color-schemes for terminal emulators by a drop of a picture, powered by modern C++17, Qt5 framework, and OpenCV library. Notable features:

  • Uses the K-means clustering algorithm to accurately identify dominant colors in an image
  • Takes mere seconds for a color-scheme to appear in the terminal emulator

Supported terminal emulators

  • Konsole (KDE)
  • Xfce4 Terminal (Xfce4)
  • LXTerminal (LXDE)
  • JSON (save the color-scheme to a file)

Status

Dependencies

  • OpenCV >= 3.2.0 (recommended: 3.4.2)
  • Qt5 >= 5.9.5
  • CMake >= 3.13
  • g++ (preferably version 9.2.1)

For Debian (stable/testing/sid), the following packages should be enough:

qt5-default
zlib1g-dev
cmake
g++

Obtaining OpenCV

Building from source

Copy-paste the following commands as root:

# Required packages
apt install unzip wget cmake g++

# Download OpenCV (you can as well execute wget from your ~/Downloads foler)
wget https://github.com/opencv/opencv/archive/3.4.2.zip -O opencv-3.4.2.zip

# Extract archive
unzip opencv-3.4.2.zip && rm opencv-3.4.2.zip
cd opencv-3.4.2 && mkdir build && cd build

# Build OpenCV
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ..
make -j$(nproc)
make install

Ubuntu

The project builds successfully on Ubuntu 19.04, however, for the g++ (the C++ compiler), install the package g++-9. See the Issue #9 for a detailed workaround

Arch Linux

As one person has pointed out, you need opencv3-opt from the AUR in order to build TermColor properly

Building

git clone https://github.com/belijzajac/TermColor.git
cd TermColor
git submodule update --init --recursive
mkdir build && cd build
cmake ..
make -j$(nproc) TermColor

Running

cd src
./TermColor

License

This project is available under the MIT License. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].