/MCPixelpic

a program intending to help build 2D architecures in Minecraft game

Primary LanguagePythonMIT LicenseMIT

MCPixelpic

a program intending to help build a 2D architeture in Minecraft game

  • based on opencv2 for python

  • input a picture test.jpg and output a pixelationed picture.

  • a output image have only up to 16 kinds of color, which exactly are the 16 colors of wool in Minecraft.

how to install opencvlib for python:

for macOS:

brew install gtk+
brew install opencv
cp /usr/local/Cellar/opencv/2.4.13.2/lib/python2.7/site-packages/*  /usr/local/lib/python2.7/site-packages

for ubuntu:

apt install python-opencv