1
0
Fork 0
mirror of https://github.com/deepfakes/faceswap synced 2025-06-07 10:43:27 -04:00
faceswap/plugins/extract
torzdf 1c081aea7d
Add ability to export and import alignment data (#1383)
* tools.alignments - add export job

* plugins.extract: Update __repr__ for ExtractorBatch dataclass

* plugins.extract: Initial implementation of external import plugins

* plugins.extract: Disable lm masks on ROI alignment data import

* lib.align: Add `landmark_type` property to AlignedFace and return dummy data for ROI Landmarks pose estimate

* plugins.extract: Add centering config item for align import and fix filename mapping for images

* plugins.extract: Log warning on downstream plugins on limited alignment data

* tools: Fix plugins for 4 point ROI landmarks (alignments, sort, mask)

* tools.manual: Fix for 2D-4 ROI landmarks

* training: Fix for 4 point ROI landmarks

* lib.convert: Average color plugin. Avoid divide by zero errors

* extract - external:
  - Default detector to 'external' when importing alignments
  - Handle different frame origin co-ordinates

* alignments: Store video extension in alignments file

* plugins.extract.external: Handle video file keys

* plugins.extract.external: Output warning if missing data

* locales + docs

* plugins.extract.align.external: Roll the corner points to top-left for different origins

* Clean up

* linting fix
2024-04-15 12:19:15 +01:00
..
align Add ability to export and import alignment data (#1383) 2024-04-15 12:19:15 +01:00
detect Add ability to export and import alignment data (#1383) 2024-04-15 12:19:15 +01:00
mask Add ability to export and import alignment data (#1383) 2024-04-15 12:19:15 +01:00
recognition Add ability to export and import alignment data (#1383) 2024-04-15 12:19:15 +01:00
__init__.py Add ability to export and import alignment data (#1383) 2024-04-15 12:19:15 +01:00
_base.py Add ability to export and import alignment data (#1383) 2024-04-15 12:19:15 +01:00
_config.py Remove plaidML support (#1325) 2023-06-21 12:57:33 +01:00
extract_media.py Add ability to export and import alignment data (#1383) 2024-04-15 12:19:15 +01:00
pipeline.py Add ability to export and import alignment data (#1383) 2024-04-15 12:19:15 +01:00