Coder Social home page Coder Social logo

rahup97 / theta-maze Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 3.0 1.31 MB

Theta maze solving using image processing with OpenCV and numpy libraries. Implented a variant of the Breadth First Search algorithm to solve the maze in the polar coordinate system.

Python 100.00%
maze-solver image-processing python opencv numpy bfs shortest-path-algorithm theta-mazes

theta-maze's Introduction

thetaMaze

Maze solving of theta mazes using Image processing implemented using Python modules.

We have selected certain stock theta maze images of an NxN dimension, and using image processing techniques and shortest path algorithms we have solved these mazes. The first and foremost step was converting these theta images into rectangular images. We didn't actually convert them so to speak, we used polar coordinates to access the respective pixels.

This is further divided into three different directories where we are trying to do three different things.

  1. mazeSolve - Here we find the optimum path from the start coordinate of (0,0) to the final coordinate (n-1, n-1), and highlight the said path. (From the central cell, to the outermost level)

  2. mazeSolve-checkpoints - Here our images contain certain checkpoints depicted with coloured boxes. Here our job is to find the paths through each checkpoint individually, and only highlight the one which is smaller of the bunch, rather the most optimum one.

We have used the OpenCV and numpy libraries in Python to find these solutions. The shortest path algorithm we have used is based on the BFS algorithm.

Credits

IIT-B, e-Yantra Labs

Other Contributors

Chethan K P - chethan749

theta-maze's People

Contributors

rahup97 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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