Open wibur0620 opened 5 months ago
It's not easy with video when using multiple masks. I've done this before in a fork for segment_anything, where the masking was quite accurate, but it involves adding multiple masks (sub-batches) to the initial batch. Here, we need to think about the most efficient approach, as the post-processors also need to be adjusted accordingly to handle potentially empty masks and, most importantly, whether the model maintains mask quality across the batch length. Wouldn't Rembg / Image Remove Background Node in ComfUI Essentials be more suitable for removing the background in your task?? It can handle image batches effectively. Just my thoughts.
Can you add the functionality of combining image batches? This way, we can achieve video background removal