MrDeepFakes Forums
  • New and improved dark forum theme!
  • Guests can now comment on videos on the tube.
   
NickrusFaceset Batch-Sharpening with FastStone Image Viewer
#1
What I'm missing in the deepfakes are sharp faces. I think about applying sharpening tools, it might improve the overall quality.

What can be sharpened:
  1. source facesets (aligned), 
  2. destination facesets (aligned),
  3. processed frames.
First two could help neural network to detect face elements, the third could help a better fap Big Grin

I suggest trying the sharpening and tell if the results are better.

How to try:
  1. Download FastStone Image Viewer here (free full-functional version): You are not allowed to view links. Register or Login to view. (Windows only)
  2. Go to the source / destination "aligned" folder, 
  3. Create a folder "aligned_sharpened" for the output images. It can be a subfolder or a folder near the "aligned", doesn't matter. You will choose this path in the settings later.
  4. Go to the "aligned" folder. Open any image with the FastStone Viewer. When in view mode, press enter to switch to Image Explorer view.
  5. Select all images in the folder. Or only the ones that look blurry. Look at how many are there end remind the number.
  6. Select Tools -> Batch Convert Selected Images (F3). Or just hit F3.
  7. Make sure you chose "aligned_sharpened" from step 2 as a destination folder. Then your souce files won't be overwritten.
  8. Check that all the files you wanted to have processed are in the input list. Remember how many should have been there in the source. Add files with a button if necessary.
  9. Check box Use Advanced Options. (see Attachment 1).

    [Image: 6iuTEcLh.png]

  10. Click Advanced Options button. On the Adjustments Tab check box and enter settings as in the Attachment 2. Press OK.

    [Image: 4cXq0EHh.png]
    You can also press Design and Preview to see the difference.

    Example:
    [Image: 4ZnWTSfh.png]
    You can play with the settings to adjust for the better results. I choose 78 / 0.4.

  11. Ok, ready to go! When back in the Conversion window, press Convert and wait. Check the result.
USM (Unsharp Mask) is an intelligent sharpening method, I believe it really improves images. Especially when a human has chosen optimal settings, it is like countouring by hand. I wish that DFL would apply such a setting to every replaced face in the output, it would improve the quality a lot.
#2
Another solution for this is using a video editing software (Premiere Pro, DaVinci, Vegas...) sharpen and color grade src and dst video, and then do the usual stuff with DFL. It's probably quicker or at least similar to your method.
I accept donations with Tokens, Bitcoin, Paypal or Credit Card

To request a paid deepfake, just send me a private message.

All my videos so far : You are not allowed to view links. Register or Login to view.

Consider donating to the creator of DFL :

You are not allowed to view links. Register or Login to view.
#3
Moved to guides. Thanks for sharing.
~ Fake it till you make it ~
You are not allowed to view links. Register or Login to view.
You are not allowed to view links. Register or Login to view.
#4
That is correct, Adobe AE is also good. I wrote this for the guys who don't make DF by themselves buy only extract and upload facesets.


The tool I suggest is compact, simple and free to use, while Adobe AE is heavy, complicated, and expensive.

Also, when you process faceset images, you only deal with the face pixels and in AE it's about the whole frame that can be X times bigger.

The choice is yours.

Forum Jump:

Users browsing this thread: 1 Guest(s)