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

561 Коммитов

Автор SHA1 Сообщение Дата
microsoft-github-policy-service[bot] bc649ae60c
Microsoft mandatory file (#1042)
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>
2023-05-11 17:04:27 +08:00
Buddha Wang 9f39d5e2bd
Update README for pointing to latest tool. (#1052) 2022-11-14 10:05:49 +08:00
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
Christopher Stone 768b3ccf39
Do not uses slashes in blob name (#1019) 2022-02-10 17:10:43 +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
Chia-Sheng Chen ee9aba9369
Update ThirdPartyNotices.txt for redact_cli_py (#998) 2021-09-07 18:54:33 +08:00
Buddha Wang 729f527f10
Update yarn.lock to secure version. (#993) 2021-09-02 11:39:12 +08:00
v-yuhang 8bef769930
fix:An error occurs when adding a layer to a tag (#987)
* test

* An error occurs when adding a layer to a tag

* Invalid space

Co-authored-by: Buddha Wang <scwang0103@gmail.com>
2021-09-01 16:40:18 +08:00
v-yuhang 58c5e36f57
increase training timeout to 90mins (#985)
* test

* increase training timeout to 90mins

* Invalid space

* timeOutchange

Co-authored-by: Buddha Wang <scwang0103@gmail.com>
2021-09-01 12:39:12 +08:00
v-yuhang 9ccb2c0694
Update pdfjs-dist lib to latest version (2.9.x) (#981)
* test

* pdfjs-VersionUpgrade

* Invalid space

* please keep cMapUrl
2021-09-01 11:12:04 +08:00
v-yuhang 89b37044cd
Document sort(2.1) (#978)
* test

* change document sort

* indent

* change interval
2021-08-27 15:35:30 +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
Buddha Wang ea4b3c7bab
Extend model training timout to 10 mins. (#971) (#972) 2021-08-11 18:35:17 +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
la df516eb210
Update README.md (#968) 2021-08-04 09:14:50 +08:00
v-yuhang 9986eedb5b
Yuhang/pdf page number limit (#941)
* fix:Tips pdf  page  number limit(#10164185)

* format

* format2

* Function name modification

Co-authored-by: Buddha Wang <scwang0103@gmail.com>
2021-07-19 11:10:20 +08:00
v-yuhang fcb22b6373
fix:Tips the number of composite models(#9945790) (#938)
* fix:Tips  the number of composite models(#9945790)

* Modification of judgment logic

* Modification of judgment logic(2)
2021-07-19 09:20:49 +08:00
Buddha Wang e831581267
Add "ai" format support for PDF. (#942) 2021-07-16 14:07:34 +08:00
Corin Ennis b3d7c2bc45
Fix yarn release (#932) 2021-07-12 22:10:43 +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
Buddha Wang b77e59b671
Remove "preview" text from UI. (#934) 2021-06-02 16:07:14 +08:00
Buddha Wang 5a7314858a
Fix issue of no valueObject property present. (#929) 2021-05-11 12:22:59 +08:00
Buddha Wang 39749bc761
Update table visualization results for indicating header. (#927)
* Update table visualization results for indicating header.

* Set header for prebuilt invoice line items.

* Update test cases.
2021-05-10 13:06:00 +08:00
Buddha Wang 9c31690983
Update invalid SAS message with action item. (#926) 2021-05-10 10:58:47 +08:00
alegarro dbb8f93da7
Update es-cl.ts (#923)
New spanish translations and fix some spanish translations
2021-05-07 16:04:56 +08:00
Buddha Wang ac3cbf11ad
Fix table visualization issue caused by colSpan. (#924) 2021-05-04 14:47:58 +08:00
Buddha Wang 259e250073
Update third party notice. (#922) 2021-05-03 15:31:40 +08:00
Buddha Wang 77643b5342
Check and remove invalid label type when necessary. (#921)
* Check and remove invalid label type when necessary.

* Fix lint warning.
2021-05-03 15:24:04 +08:00
Buddha Wang 1f7a305d95
Notify user when project creation failed. (#920)
* Notify user when project creation failed.

* Fallback to generic request error message.
2021-05-02 11:12:38 +08:00
Buddha Wang fff193251d
Fix assign drawn region via hotkey cause app crash (#919) 2021-04-29 12:34:00 +08:00
Buddha Wang 82d4ad2ddc
Upgrade app version and api version. (#918) 2021-04-29 11:48:47 +08:00
Buddha Wang 53035399b1
Fix exception caused by empty table prediction. (#915) 2021-04-13 12:03:32 +08:00
Buddha Wang 76e3c12358
Support field type "selectionMark" in prediction results. (#914)
* Support type selectionMark in prediction result

* Refine to support new field types in the future.

* Fix lint warning.
2021-04-12 15:23:16 +08:00
Buddha Wang cf37670518
Extract draw region check function and add v2.1 (#913) 2021-04-12 11:51:57 +08:00
Buddha Wang 8616bd5941
Add API version v2.1 (#912)
* Add v2.1

* Set default version back to v2.1-preview.3.

Co-authored-by: Xinxing Liu <xinxl@microsoft.com>
2021-04-09 14:02:02 +08:00
SimoTw ffeb09de1d
Non-blocking save asset metadata. (#910)
* Non-blocking save asset metadata.

* Implement queue map.

* Add withQueueMap decorator.
2021-04-09 11:56:47 +08:00
SimoTw 592e84496e
Add use cases for table label, prebuilt, upgrade schema. (#883)
* 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>
2021-04-09 11:45:52 +08:00
SimoTw 99b589201d
Change sequential requests to parallel. (#909)
Parallel get label.json files.

Atomic update tagCount.
2021-03-30 14:59:28 +08:00
SimoTw e445dccfcb
Fix tag color error with backward compatibility. (#908)
* 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.
2021-03-25 20:00:40 +08:00
SimoTw 7e9f700876
Change empty query handler and init url state. (#904) 2021-03-22 15:46:56 +08:00
SimoTw 7c2daa8a82
Fix button remains disabled even if with supported file type. (#902)
* Set success file load result with default value.
2021-03-19 10:06:04 +08:00
SimoTw 8439699e34
Change array type ChevronRight display. (#901) 2021-03-18 17:00:32 +08:00
Atsushi Yokohama 92e3354bc5
Adding Japanese README (#898)
* Adding Japanese README

* Update README.ja-jp.md

Fix typo.

* Adding to translate the headings

* Fix typo.
2021-03-18 14:31:42 +08:00
SimoTw 871fa13f8f
Fix regional labeling for selection mark is not allowed bug. (#900)
* Allow to assign "draw region" to  "selectionMalk".
2021-03-17 17:52:14 +08:00
SimoTw e0d99d220d
Fix layout error for page range. (#897) 2021-03-12 15:36:55 +08:00
Buddha Wang b9a887ea0d
Change includeTextDetails back to true. (#896) 2021-03-12 14:41:22 +08:00
Buddha Wang 5959cae3bd
Fix issue when first predicted row is null. (#895) 2021-03-12 14:26:32 +08:00
Buddha Wang 3c2b4a450c
Show meaningful response error message. (#894) 2021-03-12 12:34:23 +08:00