Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
tejani
/
FaceMask
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
FaceMask
/
src
/
backend
/
annotators
/
control_interface.py
tejani
Upload 115 files
79eeb88
verified
16 days ago
raw
Copy download link
history
blame
contribute
delete
Safe
202 Bytes
from
abc
import
ABC, abstractmethod
from
PIL
import
Image
class
ControlInterface
(
ABC
):
@abstractmethod
def
get_control_image
(
self,
image: Image,
) -> Image:
pass