Git Product home page Git Product logo

path-visualisation-maze's Introduction

Path-Visualisation-Maze

This is a Code for path visualisation of Maze Steps :

  1. Read an image.
    2 . Apply perspective function on input image
  2. Encode the maze image in maze_array
  3. Find the path
  4. Draw the path

Input Image

After applying perspective function on input image


Encoded Maze array

Encoded Maze Array = [[3, 10, 10, 14, 7, 11, 10, 10, 10, 6], [5, 3, 6, 11, 0, 6, 11, 2, 14, 5], [5, 5, 9, 6, 5, 9, 6, 9, 6, 5], [5, 5, 7, 5, 5, 3, 12, 3, 4, 13], [13, 5, 5, 9, 12, 5, 3, 12, 1, 14], [11, 12, 1, 6, 3, 12, 5, 3, 12, 7], [7, 7, 5, 9, 12, 3, 12, 9, 6, 5], [5, 5, 5, 3, 6, 5, 3, 14, 5, 5], [5, 9, 8, 12, 9, 4, 9, 10, 12, 5], [9, 10, 10, 10, 14, 13, 11, 10, 10, 12]]

Path between (0,0) to (9,9)

[[(0, 0), (1, 0), (1, 1), (1, 2), (2, 2), (3, 2), (3, 1), (3, 0), (4, 0), (5, 0), (6, 0), (7, 0), (7, 1), (7, 2), (8, 2), (8, 3), (8, 4), (8, 5), (8, 6), (8, 7), (9, 7), (9, 8), (9, 9)]]

Output Image


#Credit for Maze Images goes to E-yantra Lab. This is project is subtask of E-yrc 2020-2021 competition.

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.