Commit Graph

36 Commits

Author SHA1 Message Date
ccppoo
e6f347407e
Update decensor.py 2019-05-07 13:22:07 +09:00
ccppoo
9cc6507eeb
Update decensor.py
Added comment just in case not to forget before releasing
2019-04-25 09:25:40 +09:00
ccppoo
569305e77b
Update decensor.py
Changed decensor.py as adding file.py. Will make it more readable.
2019-04-22 23:42:44 +09:00
ccppoo
0b66b224af
Update decensor.py
missing .format(color_file_path) in line 74
2019-04-11 14:30:30 +09:00
Samuel-Clarke123
3db242644f Added support for custom mask colors 2019-04-01 22:06:09 +11:00
Marcos Del Sol Vives
15beacb682 Added hashbang to executables 2019-01-29 10:53:20 +01:00
KarlTheCool
67586cb2c6 Made file_name in decensor_image optional. Now returns Pillow Image if not supplied. 2019-01-16 18:07:53 -08:00
Wüstengecko
86ed92b18b Add some helpful error messages 2018-12-14 00:24:54 +01:00
deeppomf
02490c2218 release V.1.3.0-beta 2018-11-10 21:35:02 -05:00
deeppomf
46ec202252 release V.1.3.0-beta 2018-11-10 21:34:35 -05:00
deeppomf
13bf7e62c0 begin move of image operations to utils.py 2018-11-08 09:12:19 -05:00
cat
97d53fd2f3 Optimize mask computation in bar decensoring mode.
Use numpy vector operations for massive speedup, ~30x on 1000x1500 image.
2018-11-04 20:39:51 +05:00
deeppomf
d2f0829b99
Merge pull request #36 from itsVale/patch-1
Removing redundant braces
2018-10-31 20:58:19 -04:00
HarJIT
3cecc13ee6 Shouldn't need this anymore. 2018-10-30 18:49:02 +00:00
HarJIT
7c0c307a2a Fix a couple of things (notably filename extension case issues):
- Accept non-lowercase file extensions, i.e. .PNG as well as .png

- Fix running the decensor repeatedly if the original is present in
  multiple formats (use break, not continue, at the end of the loop).

- Bit of miscellaneous cleanup made when I was working on that section
  of code (didn't touch other sections).
2018-10-30 18:34:38 +00:00
Valentin
90f41e31a2
Removing redundant braces 2018-10-30 13:23:17 +01:00
deeppomf
733953b594 fixes #15 2018-10-22 18:19:30 -04:00
deeppomf
a51f587343 remove unnecessary initializations 2018-10-21 04:27:16 -04:00
deeppomf
08d8e8cfc9 add support for mosaic decensors from the command line 2018-10-20 23:46:56 -04:00
deeppomf
d88f77a157 add input output folders 2018-10-20 00:26:41 -04:00
deeppomf
40d3a50d45 Add files 2018-10-20 00:11:20 -04:00
deeppomf
6bd08ddfa6 Purge the old files 2018-10-19 23:56:49 -04:00
SoftArmpit
9847a7f33f feat: pass whole images and auto-detect shapes
We add auto-detection of mask shapes, enabling the ability to put whole
images in the input folder. This is done through OpenCV by checking for
large contours (>150) matching the mask color.

Depends: https://github.com/deeppomf/DeepMindBreak/pull/8
2018-06-15 16:59:22 +01:00
deeppomf
85c9886f41 fix typo 2018-03-14 21:04:45 -04:00
deep pomf
1f4f847008 decensor color added to config 2018-03-08 15:11:51 -05:00
deeppomf
018c86c959 added comment about batch_size 2018-02-27 23:15:57 -05:00
deeppomf
faca2f76fd temporarily revert batch_size usage in decensor.py and fix image sample saving in train.py 2018-02-27 23:10:44 -05:00
deeppomf
4e4c2d74ef use mask_color variable 2018-02-27 11:36:20 -05:00
deeppomf
092c214103 decensor now uses args 2018-02-27 11:34:14 -05:00
deep pomf
405456a8f0 more args 2018-02-26 10:59:14 -05:00
deep pomf
8f7e46f5f0 remove xrange for python 3 compat 2018-02-12 12:25:10 -05:00
deep pomf
181e13ef68 poisson blending variable 2018-02-12 12:21:10 -05:00
deep pomf
4ed26b5d06 disable poisson blending 2018-02-12 12:08:02 -05:00
deeppomf
a9d7000736 readme, decensor 2018-02-11 13:57:44 -05:00
deeppomf
13dc39afba update decensor 2018-02-11 00:45:14 -05:00
deeppomf
704ff80bba update 2018-02-10 22:19:48 -05:00