1
0
Fork 0
mirror of https://github.com/deepfakes/faceswap synced 2025-06-09 04:36:50 -04:00
Commit graph

187 commits

Author SHA1 Message Date
torzdf
3fd26b51a6
Manual Tool (#1038)
Initial Commit
2020-07-25 11:05:29 +01:00
torzdf
30acca8541 Sort by face - Inherit allow_growth option from extract.ini 2020-07-04 10:38:46 +01:00
torzdf
ff8d85118e
Cli Restructure + Multi-Mask Select on Extract (#1012)
- Split up cli.py to smaller modules
- Enable Multi Mask Selection in Extraction
- Handle multi option selection options in the GUI
- Document lib/cli
2020-04-22 00:04:21 +01:00
torzdf
9461c59773 Bugfixes and minor updates:
- Remove preview option from effmpeg tool
  - Remove json filetypes from GUI for alignments files
  - Capture and raise empty timelapse folder errors
  - Move convert to use centralized ImagesLoader
2020-04-09 14:33:29 +01:00
torzdf
86a5921c8d Bugfix - Alignments Tool, DFL Conversion 2020-03-26 17:28:04 +00:00
torzdf
9fe4a65236 Bugfix: Mask Tool 2020-03-25 23:38:57 +00:00
torzdf
3d88630f4f
Core Update (#995)
* lib.alignments - Add Video Meta Data methods

* lib.image - Monkey Path ImageIO for video scanning
2020-03-23 13:15:21 +00:00
torzdf
4153a7ea0d
Tools Restructure (#990)
* Restructure tools to allow dynamic (plugable) loading

* Update gui cli parsing to allow new tools structure
2020-03-16 19:12:52 +00:00
torzdf
6e08c952f8 bug fix: tools.alignments. Set filename correctly when merging alignments 2020-03-04 15:09:39 +00:00
torzdf
2b5b871156
lib.alignments - Slight update (#978)
* lib.alignments update:
  - Minor structure change (faces to nested dictionary)
  - Refactor internal and external methods
  - Documentation
2020-03-02 17:13:32 +00:00
torzdf
f1b1535514 tools.alignments - Fix update hashes 2020-02-19 10:21:00 +00:00
torzdf
86d039c242 Convert - bugfixes
- Default mask to an available mask in Preview tool
- Correctly output predicted mask
2020-01-03 14:13:58 +00:00
torzdf
497779d293 lib.gui
Centralize get_scaling and set_geometry to utils.config
Suppress Error when rebuilding GUI for TreeView
2019-12-31 17:27:45 +00:00
torzdf
f2333e1f9d tools.preview - Limit mask selection to only masks available for all faces
plugins.mask - Correctly set dtype for "None" mask
2019-12-30 18:10:54 +00:00
torzdf
91da1bba8e tools.mask - Bugfixes
- Missing masks - fix memory leak
- Missing masks - Handle multiple faces in frames properly
2019-12-30 12:40:34 +00:00
torzdf
1bdc9da02f
Smart Masks to Convert (#957)
- scripts.convert - Use Smart Masks for Convert
    * Make on-the-fly conversion an explicit option

- Move BlurMask to lib.faces_detect

- tools.preview - Fix for smart masks
    * Subclass from tk.Tk
    * Options to lib.gui.control_helper
    *variable cleanup

- lib.logger - Demote more tensorflow deprecation messages

- Documentation:
    * lib.faces_detect.BlurMask
    * plugins.convert.mask
    * lib.convert
    * scripts.convert
    * scripts.fsmedia
    * tools.preview
2019-12-29 23:13:25 +00:00
torzdf
c721c22793 Merge branch 'staging' 2019-12-16 00:59:37 +00:00
torzdf
9ebc0abc8e tools.sort - Optimize sort by face 2019-12-16 00:59:00 +00:00
kvrooman
2e3e602559 bugfix: lib.tools.mask (#953) 2019-12-15 12:49:51 +00:00
torzdf
ef03be1706
Update Dependencies (#950)
* 1st Round update for Python 3.7, TF1.15, Keras2.3
    Move Tensorflow logging verbosity prior to first tensorflow import
    Keras Optimizers and nn_block update
    lib.logger - Change tf deprecation messages from WARNING to DEBUG
    Raise Tensorflow Max version check to 1.15
    Update requirements and conda check for python 3.7+
    Update install scripts, travis and documentation to Python 3.7

* Revert Keras to 2.2.4
2019-12-10 02:01:20 +00:00
torzdf
790b04a314 lib.alignments - Auto update legacy list landmarks to numpy array 2019-12-08 18:06:16 +00:00
torzdf
5a9565ca82 bugfix: lib.tools.alignments - Extract faces from frames as well as video 2019-12-08 16:52:35 +00:00
torzdf
ac1cf8fbe9 lib.alignments: improve re-extraction speed by 500% 2019-12-08 10:54:26 +00:00
torzdf
e2373fd872 Add job to fix frames where alignments are out by 1 2019-12-07 19:18:32 +00:00
torzdf
4ee9eac4f4 tools.alignments - Rewrite rename job to be more robust 2019-12-06 03:10:47 +00:00
torzdf
6f7ae98936 bugfix: tools..mask - Fix generation of new masks for face input 2019-12-05 20:13:22 +00:00
torzdf
c8c2601455 bugfix: tools.alignments - Fix DFL conversion 2019-12-05 12:50:00 +00:00
torzdf
e3f494aa41 bugfix: Mask Tool - To ExtractMedia object 2019-12-02 15:54:45 +00:00
torzdf
44b7461ca7 sort - remove unused variable 2019-11-30 00:32:25 +00:00
torzdf
8f5a7a6535 Bugfix: Sort by Yaw - Use Pipeline for landmarks 2019-11-30 00:17:19 +00:00
torzdf
4fdeb67fba Bugfix - Manual tool. Use new ExtractMedia class 2019-11-29 23:53:00 +00:00
torzdf
4591a02ee1 bugfix: tools.preview - Fix for new icons
bugfix: lib.vgg_face2_keras - Remove debug code
documentation: lib.vgg_face2_keras
2019-11-24 13:54:33 +00:00
torzdf
e481053bd0 bugfix: tools.preview - Load tooltip from custom_widgets 2019-11-24 00:21:44 +00:00
torzdf
83c28e7e9e bugfix tools.preview - Update icon names 2019-11-23 19:17:51 +00:00
torzdf
b55e499b0b bugfix: lib.gui + tools.preview - Update icon names 2019-11-23 19:15:06 +00:00
torzdf
9c588045aa
GUI Updates (#940)
* lib.gui: Update icons
* tools.cli: Add video filetype flag to mask input
* lib.gui.popup_configure: Refresh GUI on config save
* lib.gui._config: Add Icon size and load last session options
* lib.gui.control_helper - Add control modification tracking
* lib.gui - Add Projects and Last Session
- Main root title handled by projects
- Add Hotkeys
- Create projects module
- split fsw and fst filetypes
- Add last_session saving

* lib.project
- Documentation
- Ask confirm on closing unsaved project
-Fixups

* Track model folder changes
- Shuffle some globals
- Activate System Verbosity for GUI

* lib.gui.utils - Documentation and clean up
- lib.gui.custom_widgets - Create and document

* Add GUI config option to disable auto loading model stats
2019-11-22 19:20:23 +00:00
kilroythethird
3ba917ce0d Added masking output support to tools->mask (#937) 2019-11-21 02:28:26 +00:00
kvrooman
47681a8bab Landmarks stored and used as floating point numbers (#928)
* remove and fix int adjustments
* masking rounding
2019-11-15 11:01:37 +00:00
kvrooman
2d229cee72 Color channel sorting (#905)
* Add Sort by Color Feature

Sort by
 - Grayscale
 - Luma
 - Green to Red
 - Orange to Blue
2019-11-14 12:54:29 +00:00
torzdf
73ff840fbd scripts.extract - code optimizations
Limit queue sizes to reduce RAM usage
Rename lib.image.BackgroundIO to ImageIO
Create separate ImagesLoader and ImagesSaver classes
Load/Save images from centralized lib.image.ImageIO
scripts.extract documentation
2019-11-13 19:16:25 +00:00
kvrooman
b49c352e8f # pylint:disable=no-member cleanup (#927)
# pylint:disable=no-member cleanup
2019-11-13 12:17:59 +00:00
kilroythethird
ffd3829930 Added allow_growth argument for preview 2019-11-07 04:28:04 +01:00
torzdf
09250eb51b Merge branch 'master' into staging 2019-11-02 23:23:13 +00:00
torzdf
b1dd0dbdc5 bugfix: lib.image - Ensure video frame count is always read correctly 2019-10-31 01:45:27 +00:00
torzdf
efbe606b0e Merge branch 'master' into staging 2019-10-29 11:38:53 +00:00
torzdf
8a721c7e7c masks: Ensure blur kernel is odd 2019-10-29 11:38:29 +00:00
torzdf
fb77f033c3 Bugfix: Manual Tool - Strip mask from adjusted faces 2019-10-28 17:08:32 +00:00
torzdf
3b2eaa591f Remove debug code 2019-10-28 10:47:25 +00:00
kvrooman
0e0b2faa1a ENHANCEMENT: Sort image multi-threading and code clarity (#912)
* Use multi-threaded loading

* fast reload

* remove landmark stub

* saves

* correct face sort

* pep8
2019-10-28 10:00:04 +00:00
kvrooman
650e00aa0a BUGFIX: recursive loading of images all sub-directories in sorter (#910)
* bugfix
2019-10-25 23:58:02 +01:00