Adding New Images
Segmentation and depth-maps are required to use new images as background. Sample scripts for obtaining these are available here.
predict_depth.m MATLAB script to regress a depth mask for a given RGB image; uses the network of Liu etal. However, more recent works (e.g., this) might give better results.
run_ucm.m and floodFill.py for getting segmentation masks using gPb-UCM.
For an explanation of the fields in dset.h5 (e.g.: seg,area,label), please check this comment.
Adding New Images Segmentation and depth-maps are required to use new images as background. Sample scripts for obtaining these are available here.
For an explanation of the fields in dset.h5 (e.g.: seg,area,label), please check this comment.
The more detailed description in https://github.com/ankush-me/SynthText#adding-new-images