Giter Site home page Giter Site logo

face_drawer's Introduction


Logo

FACE DRAWER

Transform any picture with only primary colors
Explore the docs »

Report Bug · Request Feature

Table of Contents

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

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
git clone https://github.com/nicklamyeeman/face_drawer.git
  1. Compile it
make

Usage

Example

./face_drawer ./assets/old_nick.jpg ./assets/results/old_nick_generated.jpg

Original photo :
Nick

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 Marging2 Marging20

And use the #define + [sf::Color]to switch colors.

BlueBerry

WhiteCastle

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 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 - [email protected]

Project Link: https://github.com/nicklamyeeman/face_drawer

Acknowledgements

face_drawer's People

Contributors

nicklamyeeman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.