Giter Club home page Giter Club logo

x-action's Introduction

X-Action

Convert 3D color RGB pics to 2D black&white pics

Build instructions

prebuild

sudo apt update sudo apt --fix-broken install sudo apt install libgtk2.0-dev pkg-config sudo apt install libcanberra-gtk-module libcanberra-gtk3-module sudo apt install g++-8

Opencv

Follow the instructions: https://docs.opencv.org/4.x/d7/d9f/tutorial_linux_install.html

Go to your 3rd party lib dir in your machine

Build project

  • mkdir -p build && cd build
  • cmake -DCMAKE_CXX_COMPILER=<g++-8 path> .. (example: cmake -DCMAKE_CXX_COMPILER=/usr/bin/g++-8 ..)
  • build projects
    • make PythonConversion (for first assignment)
    • make X-Action (for x action assignment)
    • make (to build all)

Run instructions

Run PythonConversion

Go to build/bin run ./PythonConversion It will gow over the images in the images directory and show them in black&white

Run X-Action

Go to build/bin run ./X-Action num of threads should be from 1 to 10, any other number will result sungle thread run. the converted black&white images will be saved in images_out directory.

Docker

Unfortuenetly I had some issues with the docker in my machine so I didn't have the time to build it completely, the project build, the X-Action is working but the PythonConversion causing segmentation fault.

You can find the dockerfile in docker directory. I uploaded the image to docker-hub use "docker pull lioriz/image-converter:latest" to download the image.

  • run the image with terminal. "docker run -it lioriz/image-converter:latest"
  • go to X-Action. "cd imageConverter/X-Action/"
  • run the exe files in build/bin.

x-action's People

Contributors

lioriz 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.