Giter Club home page Giter Club logo

iihc's Introduction

  1. Download code and data of Holstein cattle from "https://github.com/ameybhole77/IIHC"

  2. Upload data to matlab workspace. (matlab online in my case)

  3. Run "BatchPreprocessing.m" program in matlab

    • replace ';' with ':' in the code
    • Sample folders will be created with 4 images - 2 segMasks and 2 segRGB images
  4. Download this segmented data from matlab workspace into folder "Images_segmented".

  5. Run "mypaint.py" program -

    • This will read images from folder "Images_segmented".
    • Then it will do inpainting and then resizing to (256*256)
    • Next it will create a new folder "Images_inpaint_resized" contaning all output images.
  6. Run "my_image_to_numpy.py" program -

    • This will read images from folder "Images_inpaint_resized".
    • Then it will split data into training and testing
    • Then it will create a new folder "Images_numpy" storing data in numpy format.
    • It will output shape of the numpy arrays. See screenshot - "ss_shape-of-training-testing.png"

iihc's People

Contributors

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