HideAndSeek
HideAndSeek
HideAndSeek (deactivation_p=0.1, modifier:RegionModifier=None, hole_maker:HoleMakerTechnique=None, p=0.5)
Defines the amount of holes, the probability of deactivation, the technique used to make them and the probability of apply the technique.
| Type | Default | Details | |
|---|---|---|---|
| deactivation_p | float | 0.1 | The probability of deactivate a region. |
| modifier | RegionModifier | None | The modifier that defines the traditional augments to apply to the selected regions. |
| hole_maker | HoleMakerTechnique | None | The strategy used to make the holes. |
| p | float | 0.5 | The probability of applying this technique. |
The default technique used to make those holes is the HoleMakerPoint technique.
HideAndSeek technique was defined and implemented here.
HideAndSeek.before_batch
HideAndSeek.before_batch ()
Applies the Hide & Seek technique (divides the image into a grid and deactivates some portions with a determinated probability).