Git Product home page Git Product logo

ai-mate-rov-2021's Introduction

AI-Mate-ROV-2021

This Repo houses all missions of mate 2021 for the AI team

How to use

clone the repo first:

git clone https://github.com/RobEn-AAST/AI-Mate-ROV-2021.git

or pull any changes done since you last checked:

git pull

  • Each folder houses a Mission and should be named after that mission's number-title

    • example : ( Task 2.2 - health of the coral colony).
  • each folder should have all task scripts only for said task

  • each mission folder should have a requirements.txt file to specify the required dependencies for that specific mission.

  • create virtual envs for each mission for only that mission's libraries

  • make / use a description folder in each task that has included notes and mission abstract

  • cut down on pre-project junk

ai-mate-rov-2021's People

Contributors

3oss2000 avatar abbashabib avatar dohahagag avatar husseinhafez1 avatar karimkohel avatar mariam22-kamal avatar mhwahdan avatar mohamedali200011 avatar mohameosama avatar nourhanelyamany avatar princeofguilty avatar thepetersamy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ai-mate-rov-2021's Issues

contours function returns diff number of output than expected

whenever I try to run this script i get this errors:
Traceback (most recent call last): File "C:/Users/youss/PycharmProjects/AUV/Image.py", line 166, in <module> read_video() # this function is responsible for reading video/camera frames and call every other function File "C:/Users/youss/PycharmProjects/AUV/Image.py", line 154, in read_video midpoint_right, midpoint_left = detect_pipes(frame, mask_blue) File "C:/Users/youss/PycharmProjects/AUV/Image.py", line 131, in detect_pipes left_co, right_co = get_contours(mask_blue, frame, draw_contours=False) File "C:/Users/youss/PycharmProjects/AUV/Image.py", line 42, in get_contours contours, _ = cv.findContours(masked_img, cv.RETR_EXTERNAL, cv.CHAIN_APPROX_NONE) ValueError: too many values to unpack (expected 2)

Karim thinks that the error is due to the function get contours in which it returns 3 variable and the code expects 2 variables.
At line 42 in the code, please re-check.
contours, _ = cv.findContours(masked_img, cv.RETR_EXTERNAL, cv.CHAIN_APPROX_NONE)

this line is from here
im2, contours, hierarchy = cv.findContours(thresh, cv.RETR_TREE, cv.CHAIN_APPROX_SIMPLE)

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.