https://github.com/nicklamyeeman/face_drawer
Transform any picture with only primary colors
https://github.com/nicklamyeeman/face_drawer
Last synced: about 2 months ago
JSON representation
Transform any picture with only primary colors
- Host: GitHub
- URL: https://github.com/nicklamyeeman/face_drawer
- Owner: nicklamyeeman
- Created: 2020-09-22T14:01:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-23T10:21:30.000Z (about 3 years ago)
- Last Synced: 2025-01-27T07:09:18.284Z (4 months ago)
- Language: C++
- Size: 12 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
FACE DRAWER
Transform any picture with only primary colors
Explore the docs »
Report Bug
·
Request Feature
## Table of Contents
* [About the Project](#about-the-project)
* [Built With](#built-with)
* [Getting Started](#getting-started)
* [Prerequisites](#prerequisites)
* [Installation](#installation)
* [Usage](#usage)
* [Roadmap](#roadmap)
* [Contributing](#contributing)
* [Contact](#contact)
* [Acknowledgements](#acknowledgements)## About The Project
This project is for an art assignment in Keimyung University. In the course "Studio Mixx (2)", I was asked about my identity, and visualize it specially.
Being a developer and a programmer student for 4 years now, the best way to identify myself is about being a developer, not an artist.I'm kind of an artist myself because being an artist is not about doing great art, it's about being enough stupid to continue. That's why I'm an artistic programmer.
### Built With
* [SFML](https://www.sfml-dev.org/)
## Getting Started
To get a local copy up and running follow these simple steps.
### Prerequisites
Be sure you have SFML installed on your PC, then open a terminal
### Installation
1. Clone the repo
```sh
git clone https://github.com/nicklamyeeman/face_drawer.git
```
2. Compile it
```sh
make
```## Usage
### Example
```sh
./face_drawer ./assets/old_nick.jpg ./assets/results/old_nick_generated.jpg
```Original photo :
In the file `include/image/AnalyzeImage.hpp` you have 2 different types of `#define`.
Use the `#define MARGING` to play with the color threshold.
Marging of 2 VS Marging of 20
![]()
And use the `#define + [sf::Color]`to switch colors.
![]()
### BE CAREFUL
Please close the window normally, don't shut it with CTRL^C if you want to save your image.## Roadmap
See the [open issues](https://github.com/nicklamyeeman/face_drawer/issues) for a list of proposed features (and known issues).
## Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.
1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request## Contact
Nick LAM YEE MAN - [@nickauteen](https://twitter.com/nickauteen) - [email protected]
Project Link: [https://github.com/nicklamyeeman/face_drawer](https://github.com/nicklamyeeman/face_drawer)
## Acknowledgements
* [Best-README Template](https://github.com/othneildrew/Best-README-Template)
[contributors-shield]: https://img.shields.io/github/contributors/nicklamyeeman/repo.svg?style=flat-square
[contributors-url]: https://github.com/nicklamyeeman/repo/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/nicklamyeeman/repo.svg?style=flat-square
[forks-url]: https://github.com/nicklamyeeman/repo/network/members
[stars-shield]: https://img.shields.io/github/stars/nicklamyeeman/repo.svg?style=flat-square
[stars-url]: https://github.com/nicklamyeeman/repo/stargazers
[issues-shield]: https://img.shields.io/github/issues/nicklamyeeman/repo.svg?style=flat-square
[issues-url]: https://github.com/nicklamyeeman/repo/issues
[license-shield]: https://img.shields.io/github/license/nicklamyeeman/repo.svg?style=flat-square
[license-url]: https://github.com/nicklamyeeman/repo/blob/master/LICENSE.txt
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555
[linkedin-url]: https://linkedin.com/in/nicklamyeeman
[product-screenshot]: images/screenshot.png