Adrian Zimbran
c728994e6b
fixed import and log message
2025-03-10 23:41:28 +02:00
Adrian Zimbran
65da3be2a4
Fix face swapping crash due to None face embeddings
...
- Add explicit checks for face detection results (source and target faces).
- Handle cases when face embeddings are not available, preventing AttributeError.
- Provide meaningful log messages for easier debugging in future scenarios.
2025-03-10 23:31:56 +02:00
Kenneth Estanislao
28c4b34db1
Merge pull request #911 from nimishgautam/main
...
Fix cv2 size errors on first run in ui.py
2025-02-05 12:51:39 +08:00
Soul Lee
513e413956
fix: typo souce_target_map → source_target_map
2025-02-03 20:33:44 +09:00
Nimish Gåtam
ccc04983cf
Update ui.py
...
removed unnecessary code as per AI code review (which is a thing now because of course it is)
2025-02-01 12:38:37 +01:00
Nimish Gåtam
2506c5a261
Update ui.py
...
Some checks for first run when models are missing, so it doesn't error out with inv_scale_x > 0 in cv2
2025-02-01 11:52:49 +01:00
qitian
5132f86cdc
add mutil language
2025-01-07 14:04:18 +08:00
Makaru
d07d4a6a26
Update ui.py
...
I pushed it to premain
2025-01-07 01:15:05 +08:00
Kenneth Estanislao
b38831dfdf
Revert "Merge pull request #868 from kier007/main"
...
This reverts commit c03f697729fa8649f58381ae0fd5c217afb18634, reversing
changes made to d8a5cdbc190727bfebf20bb878667ae36931a636.
2025-01-06 14:14:21 +08:00
Kenneth Estanislao
b518f4337d
Revert "Merge pull request #869 from kier007/patch-1"
...
This reverts commit b38ef624471d15cdb2a0faf2fb877130d1655d3e, reversing
changes made to c03f697729fa8649f58381ae0fd5c217afb18634.
2025-01-06 14:14:04 +08:00
Kenneth Estanislao
28513d6c1f
Update metadata.py
2025-01-06 00:27:45 +08:00
Makaru
a3469b7bd4
Update ui.py
...
Added:
- If you happen to turn off the map faces switch while the Source x Target Mapper window is open, the Source x Target Mapper window will close.
2025-01-06 00:10:53 +08:00
Makaru
742bcab130
Update ui.py
...
Added:
- try-finally Block: This makes sure the camera.release() is called no matter how the while loops end.
- Resource Cleanup: The finally block takes care of cleaning up resources to keep the application stable.
2025-01-05 20:19:36 +08:00
Makaru
22940d1b99
Update ui.py
...
The following changes have been implemented:
-A "clear" button has been incorporated.
-The Source x Target Mapper window has been retained following the submission of data via the "submit" button.
2025-01-05 18:29:01 +08:00
KRSHH
8be7368949
Added URL to official website
2024-12-30 15:51:46 +05:30
Mehdi Mousavi
81da9a23ca
Fix mouth mask description
2024-12-24 09:51:32 +03:30
Mehdi Mousavi
007867a6f6
Add support for --mouth-mask argument
2024-12-24 09:40:06 +03:30
KRSHH
b17e52dea2
Mac Webcam Serial No. Management
2024-12-23 22:45:41 +05:30
KRSHH
77c19d1073
FaceTime Camera Index to 0
2024-12-23 14:58:43 +05:30
Pedro Santos
7472dfb694
fix: add match statement
...
Added for optimization
Co-Authored-By: Zephira <zephira58@protonmail.com>
2024-12-23 06:29:36 +00:00
Pedro Santos
41c6916273
Revert "Update face_enhancer.py"
...
This reverts commit ed7a21687c4de9f32659c30a17571ce568c30b47.
2024-12-23 06:08:45 +00:00
Kenneth Estanislao
ed7a21687c
Update face_enhancer.py
...
change if from before statement to elif, also fix conditional ladder
2024-12-23 12:45:53 +08:00
KRSHH
5ce991651d
Formatting
...
Moved Windows only modules, to top too.
2024-12-23 09:46:59 +05:30
KRSHH
432984b3b6
Mac Fix
...
Pygrabber Module import only on windows
2024-12-23 09:41:17 +05:30
KRSHH
76b94ac034
Changed Metadata to GitHub Edition
2024-12-22 18:28:38 +05:30
KRSHH
84ca1dc2f2
Make Face Enhancer Model device Conditional
...
Added Co-Author
Co-Authored-By: Rishon <rishon@rishon.me>
2024-12-19 21:18:28 +05:30
KRSHH
681c20dbbd
Revert "Make Face Enhancer Model device Conditional"
...
This reverts commit c240f6e31c98a4d4e93eb178982ded27d3e51e2b.
2024-12-19 21:16:56 +05:30
KRSHH
c240f6e31c
Make Face Enhancer Model device Conditional
2024-12-19 21:12:57 +05:30
KRSHH
4bb979faf0
Update metadata.py
2024-12-18 22:45:58 +05:30
Kenneth Estanislao
a1d9b73742
Revert "Merge pull request #829 from RishonLi/patch-1"
...
This reverts commit 5f5fe8890a9116f078a513ec3d8c42114a0fdb84, reversing
changes made to a9e8f273604140107cbbf03974e00655e963d447.
2024-12-16 22:46:39 +08:00
Kenneth Estanislao
5f5fe8890a
Merge pull request #829 from RishonLi/patch-1
...
Update face_enhancer.py for apple silicon mps
2024-12-16 22:30:50 +08:00
KRSHH
a9e8f27360
Pygrabber only for Windows
2024-12-16 18:41:39 +05:30
Rishon
de4f765878
Update face_enhancer.py for apple silicon mps
2024-12-14 16:47:07 +08:00
KRSHH
c72582506d
Adding Pygrabber as Cam manager
2024-12-13 19:49:11 +05:30
NeuroDonu
e4761e4d66
fix path for download and use model
2024-11-09 16:43:35 +03:00
NeuroDonu
a840986159
fix path for model
2024-11-09 16:43:13 +03:00
Kenneth Estanislao
8746c9bd36
Update metadata.py
...
1.7
2024-10-30 00:25:06 +08:00
theogbob
916c2f82d8
Fix ui.py
...
Add command to "mouth_mask": modules.globals.mouth_mask which fixes the error "SyntaxError: invalid syntax. Perhaps you forgot a comma?"
2024-10-26 14:40:03 -04:00
KRSHH
80f6ea9e65
Save Mouth Mask Switch states
2024-10-26 17:54:45 +05:30
KRSHH
29c9c119d3
Add Mouth Mask Feature
2024-10-25 20:59:30 +05:30
KRSHH
3da987340b
Fix Enhancer for Map Faces
2024-10-15 13:08:03 +05:30
KRSHH
ab26413ce8
on/off enhancer during inference and improve FPS counter
2024-10-13 13:16:21 +05:30
KRSHH
53d473164b
remember/save switch states
2024-10-09 19:51:04 +05:30
KRSHH
673439d47c
Update globals.py for Default states
2024-10-09 19:50:20 +05:30
KRSHH
bbad5e08bb
Update globals.py
2024-10-06 20:36:57 +05:30
KRSHH
88164c6303
Show FPS Switch
2024-10-05 17:39:41 +05:30
KRSHH
a49d3fc6e5
Face Mapping fix
2024-10-05 15:00:00 +05:30
Kenneth Estanislao
e531f6f26e
improved performance enhancement
...
improved performance
2024-10-05 01:42:40 +08:00
Kenneth Estanislao
c39f6ac33b
Update metadata.py
2024-10-05 01:38:01 +08:00
KRSHH
5812ef3cc9
Webcam selection
2024-10-05 01:37:19 +08:00