Git Product home page Git Product logo

grains_mask_rcnn's Introduction

Детектит зерна пшеницы на картинке

Requirements

  • Python 3.6

Установка ubuntu пакетов

  • sudo apt-get install libssl-dev
  • sudo apt-get install g++
  • sudo apt-get install autoconf automake libtool
  • sudo apt-get install pkg-config
  • sudo apt-get install cmake

Установка Python 3.6.1

  • wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz
  • tar xvf Python-3.6.1.tar.xz
  • cd Python-3.6.1
  • sudo ./configure --enable-optimizations
  • sudo make altinstall
  • curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
  • python3.6 get-pip.py --force-reinstall

Установка Python модулей

  • sudo pip3.6 install -r Mask_RCNN/requirements.txt

Download mask rcnn coco and put it in Mask_RCNN folder

  • https://github.com/matterport/Mask_RCNN/releases/download/v1.0/mask_rcnn_coco.h5

Train

  • python3.6 train.py

Usage

  • python3.6 detect.py --image=<path_to_image>

Annotation

  • Для создания xml аннотаций: https://github.com/tzutalin/labelImg

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.