Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
karaposu committed May 13, 2024
1 parent 7051b1e commit 6b5e0d3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions demo.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

from image_input_handler import UniversalImageInputHandler
# from facexformer_pipeline import facexformer_pipeline

from facexformer_pipeline.facexformer_pipeline import facexformer_pipeline

def main():

image_path = "sample_image.jpg"
uih = UniversalImageInputHandler(image_path, debug=False)
COMPATIBLE, img = uih.COMPATIBLE, uih.img

facexformer_pipeline(img)

if __name__ == "__main__":

main()
2 changes: 1 addition & 1 deletion facexformer_pipeline/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from .facexformer_pipeline import facexformer_pipeline
from .facexformer_pipeline import FacexformerPipeline

0 comments on commit 6b5e0d3

Please sign in to comment.