Structure of this project:

Folders that put images:

  • input : input image
  • mask1 : mask of the 1st epoch
  • input2 : input of the 2nd epoch (also output of ist epoch)
  • mask2 : mask of the 2nd epoch
  • output : final output

Folders that put intermediates:

  • CRAFT_result : results of CRAFT
  • segmentation_of_input : results of segment-anything with input
  • segmentation_of_input2 : results of segment-anything with input2

Folders that contain codes:

Bash files to process:

  • run1.sh : For 1st epoch of lama
  • run2.sh : For segmentation and mask generation for 2nd epoch
  • run3.sh : For 2nd epoch of lama

Flowchart:

  • flowchart.png : shows the structure of this project

How to use this:

bash run1.sh
bash run2.sh
bash run3.sh