Commit Graph
54 Commits
Author SHA1 Message Date
Rafał Tłuchowski 2e4e530b78 fp_pipe normalization across different workflows 2025-02-23 19:34:27 +01:00
Rafał Tłuchowski 2116b098d1 Merge pull request #8 from SykkoAtHome/new_features
New features
2025-02-23 15:35:04 +01:00
Rafał Tłuchowski 16456f64df fix(FaceFitAndRestore): correct image sequence restore behavior
- Process only current frame in Restore mode instead of entire sequence
- Use input image for restoration instead of path from fp_pipe
- Improve error handling and messaging
- Optimize processing by removing unnecessary iterations
- Add validation for required inputs in both modes

Breaking changes:
- Restore mode now uses input image instead of loading from fp_pipe path
- Restore mode processes only current frame instead of entire sequence
2025-02-23 15:34:02 +01:00
Rafał Tłuchowski a087bcd183 fix(FaceFitAndRestore): correct image sequence restore behavior
- Process only current frame in Restore mode instead of entire sequence
- Use input image for restoration instead of path from fp_pipe
- Improve error handling and messaging
- Optimize processing by removing unnecessary iterations
- Add validation for required inputs in both modes

Breaking changes:
- Restore mode now uses input image instead of loading from fp_pipe path
- Restore mode processes only current frame instead of entire sequence
2025-02-23 15:23:09 +01:00
Rafał Tłuchowski 2584da76ed fix(face_detector): improve MediaPipe face landmark detection robustness
- Add proper type handling for MediaPipe results
- Implement safer attribute access using getattr()
- Enhance error handling and logging
- Improve code documentation
- Fix IDE warnings about unresolved attributes
2025-02-23 14:37:14 +01:00
Rafał Tłuchowski bc49fd5f08 Merge pull request #7 from SykkoAtHome/image_processor
Image processor
2025-02-23 12:00:51 +01:00
Rafał Tłuchowski 085dbc278e refactor:
moved all image converters to ImageProcessor class
2025-02-23 11:57:02 +01:00
Rafał Tłuchowski a31a0d282e WIP 2025-02-23 11:15:29 +01:00
Rafał Tłuchowski 929679f2d5 WIP 2025-02-23 10:49:39 +01:00
Rafał Tłuchowski 5e43858899 processor_settings changed to fp_pipe 2025-02-23 10:05:47 +01:00
Rafał Tłuchowski f9f7db4950 processor_settings changed to fp_pipe 2025-02-23 10:03:59 +01:00
Rafał Tłuchowski 2d5a8527bf requirements.txt 2025-02-23 09:51:56 +01:00
Rafał Tłuchowski ce93cc1259 Merge pull request #6 from SykkoAtHome/fixes
switch to relative imports
2025-02-23 09:41:49 +01:00
Rafał Tłuchowski 455b02d260 switch to relative imports 2025-02-23 09:41:03 +01:00
Rafał Tłuchowski 3fd006f08d Rollback from InsightFace idea for landmark refinement 2025-01-29 23:08:48 +01:00
Rafał Tłuchowski fed25c3214 WIP:
insightmodel management
2025-01-29 10:39:37 +01:00
Rafał Tłuchowski 60569fdf42 WIP:
model loader classes
2025-01-29 09:47:17 +01:00
Rafał Tłuchowski fc8b0a35e5 WIP:
model loader classes
2025-01-29 09:26:17 +01:00
Rafał Tłuchowski dcbe031b81 WIP:
model loader classes
2025-01-29 09:25:49 +01:00
Rafał Tłuchowski 3d18279809 WIP:
model loader classes
2025-01-29 09:21:30 +01:00
Rafał Tłuchowski 402a8b5322 WIP:
insightFace Detector refiner
2025-01-29 00:01:58 +01:00
Rafał Tłuchowski d1a07248bf virtual points mapping 2025-01-28 20:31:12 +01:00
Rafał Tłuchowski 48aaca39ea dlib implementation for landmark refinement
with kernel thin_plate_spline
2025-01-28 20:01:13 +01:00
Rafał Tłuchowski 42031431fa face_detector prepared for dlib detection 2025-01-28 14:28:58 +01:00
Rafał Tłuchowski 81d146b70d basic workflow 2025-01-28 12:31:31 +01:00
Rafał Tłuchowski 41bf3e7be2 gamma default settngs for HPF 2025-01-28 10:04:26 +01:00
Rafał Tłuchowski 817a44be8f Merge pull request #1 from SykkoAtHome/mesh_track
Mesh track
2025-01-27 23:18:25 +01:00
Rafał Tłuchowski 450b3d71b1 show_histogram False override for HPF Settings 2025-01-27 23:17:35 +01:00
Rafał Tłuchowski a9d28dc723 High Pass Settings output as DICT 2025-01-27 22:55:25 +01:00
Rafał Tłuchowski 8f82c89bd3 moved to Face Processor category in C-UI 2025-01-27 22:31:06 +01:00
Rafał Tłuchowski 1333a5aa84 new tool - image_feeder.py 2025-01-27 22:29:42 +01:00
Rafał Tłuchowski eefbbe8cdf draw histogram moved to image_processor.py 2025-01-27 21:35:01 +01:00
Rafał Tłuchowski d96feac94e new tool - High Pass Filter (HPF) 2025-01-27 21:24:21 +01:00
Rafał Tłuchowski 64dd52cffd new tool - High Pass Filter (HPF) 2025-01-27 21:05:09 +01:00
Rafał Tłuchowski 43e82cfa9c fit and restore - bbox_size (int) output 2025-01-27 12:38:46 +01:00
Rafał Tłuchowski 834c33afd3 Rename 2025-01-27 11:16:39 +01:00
Rafał Tłuchowski c665592423 imports 2025-01-26 16:07:21 +01:00
Rafał Tłuchowski 48a59286d5 imports 2025-01-26 16:03:22 +01:00
Rafał Tłuchowski 02a7d45378 feat(FaceWrapper): Add mask support for face deformation
- Add optional MASK input/output to FaceWrapper node
- Implement mask deformation for all modes (Debug/Un-Wrap/Wrap)
- Add mask conversion methods between tensor and numpy formats
- Process mask using same landmarks as main image
- Return untouched mask in Debug mode
- Return empty mask when no face detected
2025-01-26 15:37:55 +01:00
Rafał Tłuchowski 9b48e5bc42 commit: Fix landmark scaling issues with different bbox_size values
Core changes:
- Normalized boundary points to 0-1 range in MediapipeBaseLandmarks
- Fixed scaling inconsistencies between landmarks and boundary points
- Updated edge coordinates to use normalized values
- Improved y_translation handling for boundary landmarks

Files modified:
- core/base_landmarks.py
2025-01-26 15:10:39 +01:00
Rafał Tłuchowski 28eec72d92 cleanup 2025-01-26 13:48:10 +01:00
Rafał Tłuchowski c95ccac6c2 README 2025-01-26 13:44:56 +01:00
Rafał Tłuchowski db92f67158 README 2025-01-26 13:41:11 +01:00
Rafał Tłuchowski 1e248e60f7 WIP
cpu and gpu deformer
2025-01-26 13:06:12 +01:00
Rafał Tłuchowski aaca513c6f WIP
cpu and gpu deformer
2025-01-26 13:04:14 +01:00
Rafał Tłuchowski 17d2c479c4 WIP
cpu and gpu deformer
2025-01-26 13:03:13 +01:00
Rafał Tłuchowski 501c176c09 processor_settings - pass through with optional extension 2025-01-26 11:35:32 +01:00
Rafał Tłuchowski 773d308cba dictionary format 2025-01-26 11:17:06 +01:00
Rafał Tłuchowski 355e49e2dd - base_landmarks from obj
- radial influence
2025-01-26 10:45:49 +01:00
Rafał Tłuchowski 272af5d9d7 draw landmarks 2025-01-26 09:59:08 +01:00