forte
forte copied to clipboard
`DataPack` image getter and setting function
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 you'd like
-
DataPack.set_image()that takes image data and set the cache data of image payload at the specified index. -
DataPack.imagethat getting image data fromImagePayload
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.