-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed files so setup.py install and building with setuptools will pro…
…perly work, moved callable files into examples folder
- Loading branch information
Showing
8 changed files
with
74 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from mefamo import Mefamo | ||
from argparse import ArgumentParser | ||
|
||
if __name__ == "__main__": | ||
parser = ArgumentParser() | ||
parser.add_argument('--input', default='0', | ||
help='Video source. Can be an integer for webcam or a string for a video file.') | ||
parser.add_argument('--ip', default='127.0.0.1', | ||
help='IP address of the Unreal LiveLink server.') | ||
parser.add_argument('--port', default=11111, | ||
help='Port of the Unreal LiveLink server.') | ||
parser.add_argument('--show_3d', action='store_true', | ||
help='Show the 3d face image (projected into a 2d window') | ||
parser.add_argument('--hide_image', action='store_true', | ||
help='Hide the image window.') | ||
args = parser.parse_args() | ||
|
||
print("Starting MeFaMo") | ||
mediapipe_face = Mefamo(args.input, args.ip, args.port, args.show_3d, args.hide_image) | ||
mediapipe_face.start() |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .mefamo import Mefamo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters