Commit Graph

5 Commits (c73dcf58daf2d19e592e2d083ccf71a6fc8a7683)

Author SHA1 Message Date
Phobos 48144bb9c1 bugfix for wrong mask being used 2023-05-09 00:59:49 +02:00
hithereai 8bfd6b80e7 use frame_idx instead of frame_idx+1 in masks.py 2023-05-08 21:45:22 +03:00
reallybigname 91eae74432 Added support for overlay inverted mask 2023-04-09 12:00:36 -07:00
reallybigname 6660cab053 made overlay masks with online images
now loads init_image and mask_file using load_image function

also fixed issue where you needed an init_image
  - passes image through if no init image
2023-04-09 07:31:49 -07:00
reallybigname b665c36b36 Made overlay_mask work
Overlay mask working properly with static mask or video mask.
- made new masks.py file that we can use to consolidate other mask functions from main render code
- Overlay mask NOW WORKS WITH CADENCE.  I made the function switchable between PIL rgb and np bgr and inject the function during cadence and for normal saves
- I didn't use old code. I just made this work myself.

Fixed one-off issue with hybrid video where the first frame was duplicated. (it became obvious when doing overlay video masking)

re-commented a few lines, removed some whitespace
2023-04-09 03:49:38 -07:00