mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-10 15:23:32 -07:00
fix manual extractor bug
This commit is contained in:
parent
390fa12d6f
commit
c3f175862a
1 changed files with 5 additions and 1 deletions
|
@ -211,7 +211,11 @@ class ExtractSubprocessor(SubprocessorBase):
|
|||
self.param_y = new_param_y
|
||||
self.param_rect_size = new_param_rect_size
|
||||
|
||||
self.rect = (self.param_x-self.param_rect_size, self.param_y-self.param_rect_size, self.param_x+self.param_rect_size, self.param_y+self.param_rect_size)
|
||||
self.rect = ( int(self.param_x-self.param_rect_size),
|
||||
int(self.param_y-self.param_rect_size),
|
||||
int(self.param_x+self.param_rect_size),
|
||||
int(self.param_y+self.param_rect_size) )
|
||||
|
||||
return [filename, [self.rect]]
|
||||
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue