Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
Chia-Sheng Chen 801731cff2
Upgrade redact_cli_py to 0.3.2 (#1044)
* Upgrade redact_cli_py to 0.3.2

* Fix mailto typo, update document URL
2022-08-24 17:07:22 +08:00
Lu Zhang 2e5ef6f0ae
Add instructions on how to use the redaction tool and update the language support in README (#1023)
* update overview by adding a few examples

* update overview and add labels.json

* remove __pycache__

* update .gitignore

* add redaction tool instruction

* update based on Chia-Sheng's review comments
2022-03-17 11:53:03 +08:00
Chia-Sheng Chen 2b130424f7
Redaction Toolkit | Support to redact some Latin ligature letters and letters with diacritics (#1012)
## 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>
2021-12-14 16:36:33 +08:00
Chia-Sheng Chen ccb55b02a1
redact-cli-py | Update to v0.2.2 (#1006)
* 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>
2021-11-24 17:13:15 +08:00
Lu Zhang 21db9c58d9
redact-cli-py | Update overview by adding a few examples (#975)
* update overview by adding a few examples
2021-08-18 16:51:45 +08:00
Chia-Sheng Chen de2af0fe98
Merged PR 4891947: Redaction Toolkit | Support to image modes other than RGB and RGBA (#969)
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>
2021-08-05 22:38:06 +08:00
Chia-Sheng Chen 57a9598e8e
Support image redaction with batch processing (#936)
## [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.
2021-07-12 17:30:14 +08:00
Xinxing Liu aab69380a8
Fix the issue that git-commit-info.txt could be override (#683) 2020-11-03 23:36:34 -08:00
stew-ro 586fbb0ce5
fix: use existing git hash when not in git repository (#682) 2020-11-03 17:05:18 -08:00
stew-ro 7166cdae57
fix: use node to update status bar with latest git commit (#671)
* fix: use node to update status bar with latest git commit

* fix: handle case when git commit file is empty

* fix: use node for build script

* fix: include bash script

* fix: sync ouput of bash and node scripts

* refactor: add regex comment again

* refactor: use 7 characters for short hash

* fix: use node for yarn build
2020-10-29 19:14:52 -07:00
Xinxing Liu c86b6de35e
Fix the issue that git-commit-info.txt could be override (#668) 2020-10-23 18:40:30 -07:00
Xinxing Liu cb27cbd74f
Xinxl/fix hash (#667)
Put git info dumping command into a script so as to reused by wrapper repository.
2020-10-23 17:17:22 -07:00
kunzheng 5c497ad163 First commit 2020-02-03 13:31:46 -08:00