mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-15 01:23:44 -07:00
removing trailing spaces
This commit is contained in:
parent
fa4e579b95
commit
a3df04999c
61 changed files with 2110 additions and 2103 deletions
|
@ -1,6 +1,6 @@
|
|||
"""
|
||||
Copyright (c) 2009-2010 Arizona Board of Regents. All Rights Reserved.
|
||||
Contact: Lina Karam (karam@asu.edu) and Niranjan Narvekar (nnarveka@asu.edu)
|
||||
Contact: Lina Karam (karam@asu.edu) and Niranjan Narvekar (nnarveka@asu.edu)
|
||||
Image, Video, and Usabilty (IVU) Lab, http://ivulab.asu.edu , Arizona State University
|
||||
This copyright statement may not be removed from any file containing it or from modifications to these files.
|
||||
This copyright notice must also be included in any file or product that is derived from the source files.
|
||||
|
@ -267,11 +267,11 @@ def get_block_contrast(block):
|
|||
# type: (numpy.ndarray) -> int
|
||||
return int(np.max(block) - np.min(block))
|
||||
|
||||
|
||||
def estimate_sharpness(image):
|
||||
|
||||
def estimate_sharpness(image):
|
||||
height, width = image.shape[:2]
|
||||
|
||||
|
||||
if image.ndim == 3:
|
||||
image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
|
||||
|
||||
return compute(image)
|
||||
return compute(image)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue