Skip to content

jrainey12/grabcut_refine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

grabcut_refine

Refine silhouettes produced by mask RCNN using the grabcut algorithm.

Installation

Install the following dependencies: opencv matplotlib

Usage

The input data requried is the sequence frames and the related RCNN silhouettes.

Use the following command to refine the silhouettes:

python refine_grabcut.py $IMAGE_FOLDER $SILHOUETTE_FOLDER $OUTPUT_FOLDER

Note: This is set up to work with the CASIA dataset which has the following file structure, subject/sequence/angle/frames.png. To use a different dataset either ensure it has the same file structure or modify line 65 of refine_grabcut.py to chnage the output folder to have the correct format.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages