Commit Graph

25 Commits

Author SHA1 Message Date
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