Coder Social home page Coder Social logo

aruco-colour-overlay's Introduction

ArUco-colour-overlay

Detect and create a coloured overlay over ArUco markers

Requirements

This program was made with Python 3.10 on a ubuntu 22.03 system. click on the following links to check installation steps:

Python installation

Installation

After you have installed python into your system*, you can clone this repo:

git clone https://github.com/Xpect8tions/ArUco-colour-overlay

*: Some programs may not work as intended on other operating systems

How to use

once everything is completed, you can begin by going to where you downloaded the package and first running the update_yaml_on_collage.py file. You should see an image of the generated collage. (example below) collage16 example Once the collage image is shown to you and you have decided that you don't need to inspect know every marker id location, you can press any button to close it. It should create an image called collage16.jpg in your current directory, or where you may have downloaded this package to. with the newly created image, you can run change_colours_pic.py which will show you the same 'collage16.jpg', but this time with the colour overlay as foretold by the name of the repo. (example below)

collage16 colourised

same as before, just press any button to close it, and it will save as an image named 'collage16_colourised.jpg' Where the first image is saved.

running either program again will override the previous file.

Inside the package

The /markers directory is just a folder full of ARUCO_ORIGINAL_DICT marker pngs (It is the Dictionary I chose to use)

The /opcv (short for opencv) directory is where the main files are being held. within the /opcv directory, there are 2 main folders, /config and /opcv.

/opcv

This folder contains the main codes that are to be run. update_yaml_on_collage.py is able to generate a 16 x 16 collage of ArUco markers (somehow unable to generate larger collages) and will update the yaml config file on the ids, locations and status of the marker. change_colours_pic.py is the main code that I managed to get work. For more details click here

/config

This folder contains the main params file which is what the update_yaml_on_collage.py file updates and what the change_colours_pic.py file reads to figure out how to colour the markers. For more details click here

aruco-colour-overlay's People

Contributors

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