Skip to content

An intelligent tool to predict fitting polygons given the bounding box around the region.

Notifications You must be signed in to change notification settings

ihdia/Semi-Supervised-Bounding-Box-Predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Semi-Supervised-Bounding-Box-Predictor

An intelligent tool to predict fitting polygons given the bounding box around the region.

This system takes in an input image and Bounding Box coordinates around a region for annotation in document image and outputs a tight fitting bounding polygon around the region.

Install prerequisites

Install requirements stated in requirements.txt

To run Inference on your own image

  1. Download the model from this link
  2. Place the Final.pth file in the folder (Semi-Supervised-Bounding-Box-Predictor/ssbbox/)
  3. Run the script(Semi-Supervised-Bounding-Box-Predictor/ssbbox/toolscript.py) as ->
python3 toolscript.py --img path/to/your/image --bbox x,y,w,h
  1. This outputs the final result in terms of X and Y (in new lines) coordinates respectively.

About

An intelligent tool to predict fitting polygons given the bounding box around the region.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages