Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
Co-authored-by: Buddha Wang <shihw@microsoft.com>
## Purpose
We currently cannot handle accented letter like é and ligature letter like œ, which is common in French. Need to support this. We also expand the language coverage out of just French. Please check the code for the actual charset we have taken care of.
## Validation
Before merging this PR, please make sure below works are done and marked items with 'x'.
- [x] Your code builds clean without any errors or warnings.
- [x] You have tested your change manually.
- [x] You have added unit tests.
Co-authored-by: Chia-Sheng Chen <chiache@microsoft.com>
* Add support for One Page PDF and selective label redacting
* redact-cli-py | Add requirements.txt
* Bump version to v0.2.2
Co-authored-by: TFR258 <threis@microsoft.com>
Co-authored-by: Chia-Sheng Chen <chiache@microsoft.com>
Support to image modes other than RGB and RGBA
- Add support to all image modes listed [here](affa059e95/Tests/test_image_access.py (L185))
- Add tests to image mode '1'. A partner has reported issue with the tiff files with image mode '1'.
Co-authored-by: Chia-Sheng Chen <chiache@microsoft.com>
## [0.2.0] - 2021-07-09
### Added
- Support Microsoft Azure Blob Storage as IO by `azure-storage-blob` package.
- Add batch redact CLI (`batch_redact.py`), assuming the folder structure follows FOTT blob storage folder.
- input: from local folder or from Blob Storage folder
- output: to local folder or to Blob Storage folder
### Changed
- Extract `redact_image()`, `redact_fott_label()`, and `redact_ocr_result()` function to `redact` namespace for both `redact.py` and `batch_redact.py` to use.
- Change default redact color from black to white.
## [0.1.0] - 2021-06-25
### Added
- Add image redaction.
- Add FOTT label redaction.
- Add OCR result redaction.
- Add simple CLI wrap (`redact.py`) to redact image / FOTT label / OCR result file.
* Add case table label, prebuilt, upgrade schema.
* Refactor and add new feature scenarios.
* Add whitespace.
* Add update tag color and compose api cases.
* Add update tag color by open cloud project.
* Remove outdated scenario.
Co-authored-by: Buddha Wang <shihw@microsoft.com>
* Get next color from method instead of index.
* Improve getNextColor performance.
* Add method to fill tag color.
* Refactor and implement getNextColor.
* Refactor.
* Support shared token.