Giter Club home page Giter Club logo

erdrecognition's People

Contributors

18vijayb avatar bbottoml avatar go4mo avatar

Watchers

 avatar  avatar

erdrecognition's Issues

Update README

Fill out README with problem statement and overarching goals of the project

Recognizing Entities on ERD

The goal is to recognize entities based on ERD diagrams. Read up on TensorFlow to see what is necessary to recognize the "boxes" in each diagram

Convert each image to a json file as formatted below

{
  "filepath": "PATH_TO_FILE",
  "filename": "0001.jpg",
  "numEntities": 5,
  "numRelationships": 4,
  "numAttributes": 2,
  "entities": [
    {
      "name": "Food Item",
      "primaryKey": "Name",
      "numEntityAttributes": 2,
      "entityAttributes": [
        "Price", 
        "Number of Calories"
      ]
    }
  ],
  "relationships": [
    "Usual Side",
    "Supervises",
    etc.
  ],
  "attributes": [
    "String 1",
    "String 2",
    etc.
  ],
}

Annotate images for starting and ending points of lines

Annotate approximately 25 images on GCP and train the dataset
After training, evaluate the performance of the model by deploying it
If performance is not up to benchmark, annotate 25 more images and train until accuracy is achieved

Use OpenCV to connect the dots

Mask out all white from the image, and take a starting point and an ending point.
Is there a path between the two points?
If not, take another ending point. Repeat until a starting point has been paired with an ending point. Add this pairing to a json file formatted like so

[
  {
    "start": *COORDINATES FOR STARTING POINT*,
    "end": *COORDINATES FOR ENDING POINT*I,
  },
  etc.

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.