Code Monkey home page Code Monkey logo

building_layout_tagging's Introduction

Building layout tagging

This deep learning model tags the images of building layout, like

Input Output
{
  'tag': 'building_layout', 
  'score': 0.99993956
}
{
  'tag': 'non_building_layout', 
  'score': 0.6236702
}

Installation

to install the building layout tagger, you need Python 3.7.7

git clone https://github.com/liang6261515/building_layout_tagging.git

cd building_layout_tagging

pip3 install -r requirements.txt

wget https://github.com/fchollet/deep-learning-models/releases/download/v0.4/xception_weights_tf_dim_ordering_tf_kernels_notop.h5

download the pretrain model of cheque detection from this url https://drive.google.com/file/d/1JPrSCBMQAzmY8rSvNgMt76fbv2tpuga3/view?usp=sharing to the folder building_layout_tagging

Using

Test case 1

let's download a building layout image

wget https://www.crismatec.com/python/of/office-building-floor-plans-beautiful-design-layout-plan_office-decoration.jpg

this image looks like

then open you python3, and import the tagger

from building_layout_tagging import building_layout_tagging

and run the tagging program

building_layout_tagging('office-building-floor-plans-beautiful-design-layout-plan_office-decoration.jpg')

you will the output:

{'tag': 'building_layout', 'score': 0.99993956}

Test case 2

let's dowload another image which looks like building layout but actually it is not

wget https://digitalcommunications.wp.st-andrews.ac.uk/files/2017/02/track-changes-example-1.png

this image looks like

run my tagger against it

building_layout_tagging('track-changes-example-1.png')

and the program says

{'tag': 'non_building_layout', 'score': 0.6236702}

I am looking for a job

feel free to contact me if you have any problem with this package or you are hiring data scientist/AI engineer. I am actively looking for data science/AI related jobs

My email: [email protected]

building_layout_tagging's People

Contributors

gaoyuanliang avatar

Stargazers

Jingyan Wang avatar  avatar

Watchers

 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.