Pengfei He

Results 27 issues of Pengfei He

This PR fixes https://github.com/asyml/forte/issues/873. ### Description of changes * `DataPack.set_image()` that takes image data and set the cache data of image payload at the specified index. * `DataPack.image` that getting...

topic: data
topic:cv

This PR fixes https://github.com/asyml/forte/issues/880. ### Description of changes * add parameters `image_height` and `image_width` in `ImageAnnotation.__init__` * adjust init functions in `ImageAnnotation`'s child classes accordingly * remove hacky method `ImageAnnotation.set_image_shape`...

topic: data
topic:cv

This PR fixes https://github.com/asyml/forte/issues/890 ### Description of changes * support datapack.set_text("text", -1) which is equivalent to append text payload * support datapack.set_text("text") which the text payload index is by default...

topic: data
topic:cv

This PR fixes https://github.com/asyml/forte/issues/841. ### Description of changes * create base payload ontologies with modalities (`TextPayload`, `AudioPayload`, `ImagePayload` in `forte/data/ontology/top.py`) * add some example ontologies generated by json files such...

topic: data
topic: ontology

This PR fixes https://github.com/asyml/forte/issues/887 ### Description of changes * add tags to `docs/notebook_tutorial/ocr.ipynb` for notebook tests * add notebook tests for `docs/notebook_tutorial/ocr.ipynb` ### Possible influences of this PR. Describe what...

topic: data

**Is your feature request related to a problem? Please describe.** Current `ImageAnnoatation` get image size by get the datapack's image at corresponding payload and then get the shape of image...

topic: ontology
topic:cv

**Is your feature request related to a problem? Please describe.** Current datapack setting for modality data only can add new payload for the first one. We expect setter can add...

topic: data

**Is your feature request related to a problem? Please describe.** Currently, we don't have `DataPack.set_image()` that can simplify the DataPack API to set image payload cache data. **Describe the solution...

topic: data
topic:cv

**Is your feature request related to a problem? Please describe.** One of the main reasons for creating grid is to searching overlapped `ImageAnnotation` efficiently. However, the current code supports compute...

topic: data
topic:cv

**Is your feature request related to a problem? Please describe.** Current region doesn't have area function that computes area of the represented partial image. **Describe the solution you'd like** Unlike...

topic: ontology
topic:cv