Git Product home page Git Product logo

vipspython's Introduction

VipsPython

Implementation of Microsoft Visual Page Segmentation (VIPS) algorithm in Python

Folders descriptions

ChromeHeadless - For Testing Selenium with Headless Chrome
PhantomJS - For Testing Selenium with PhantomJS
PyQt - For Testing PyQt4
PyQt5 - For Testing PyQt5
Vips - Python implementation of Vips algorithm
chromedriver_win32 - the folder containing chromedriver_win32, need to be put under C:\drive
nie-vips - Reference for java implementation of Vips algorithm
vips_java-master - Another reference for java implementation of Vips algorithm

IDE and Python version used

IDE used for running the program is Anaconda 1.5.2 and Spyder 3.2.8.
(Optional: Visual Studio Code with Python plugins)
The python version used is Python 3.6.

Instructions for Headless Chrome

Please copy and paste the chromedriver_win32 folder in C:\ drive.

Instructions to install selenium

  1. Install Anaconda for Python 3.6 version following this link:https://www.anaconda.com/download/
  2. Install Spyder IDE in Anaconda.
  3. Once you have installed Anaconda, you can straightly run Windows default CMD as administrator and execute the following command to install selenium: pip install selenium
  4. You can also install selenium through Anaconda Navigator -> Environment -> Not installed and then search for selenium.

vipspython's People

Contributors

categulario avatar wushuartgaro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vipspython's Issues

Output Visualization

I am wondering the meaning of the outputs. I understand that the images with "vertica" and "horizontal" titles are the seperators, but what does "block" title mean?, It is captured right after the block extraction step. Is there an output after the VIPS algorithm is completed giving the segmentation results in various colors as presented in the paper?

hierarchy in the output

Why the generated blocks have a flat structure? Shouldn't blocks have names like block 1, block 1.1., block 1.2, etc.?

Bigger Block extractions

@wushuartgaro
Hi. I'm working on a project where I need to extract contact info of personnels from webpages and I found your work to be very impressive and useful for my project.

But it would be really helpful if you could help me with a few issues I'm facing,

  1. I want the whole block of a person's contact information as a segment instead of 'name','email id',etc., as separate segments. How do I make this happen?
  2. How do I get the segmented blocks as output images instead of the whole web page in segmented form?

Thanks in advance.

how do you use this?

theres no explanation of how to use this. I tried python Vips.py but nothing.

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.