Product Ideas

Save annotation files in separate folders (file system) according to certain rules.

I would like to suggest a way to improve the management method of annotation files.

In my customer’s case, annotation is heavily used and over 70,000 files are stored in the annotation folder (file system) and the loading latency has been slowed down as these annotation files keep increases.

By doing the following method as part of PrizmDoc setting, I believe annotation loading speed can be improved.

Here is the current and the proposing examples of managing annotation files.

# Current managing style

* Annotations are saved to same directory.

{ prizmdoc/markupLayerRecords } folder

- 34036ce47472d7ee66e2744ab0893755b78407d6_0_NXGV06oQSKnAsxaAuTKK0qz7BKPTCZoT.json

- 5b58fc2914fe8f0e4e99538321f221073a64d2f2_0_-bCQnFbmLxYJ4DZVF9oqvrDSn9VApvY8.json

- 8cc1319df5e8b35360ecf636f49a8e63547071a3_0_J28f0PGpnSEqo0KSiAt5z8hkjjtXJgJt.json 

# Proposing managing style

* Annotations are saved separately folder according to a certain rule.

{ prizmdoc/markupLayerRecords } folder

- 34036ce47472d7ee66e2744ab0893755b78407d6

- 34036ce47472d7ee66e2744ab0893755b78407d6_0_NXGV06oQSKnAsxaAuTKK0qz7BKPTCZoT.json

- 5b58fc2914fe8f0e4e99538321f221073a64d2f2

- 5b58fc2914fe8f0e4e99538321f221073a64d2f2_0_-bCQnFbmLxYJ4DZVF9oqvrDSn9VApvY8.json

- 8cc1319df5e8b35360ecf636f49a8e63547071a3

- 8cc1319df5e8b35360ecf636f49a8e63547071a3_0_J28f0PGpnSEqo0KSiAt5z8hkjjtXJgJt.json

Currently, PAS searches annotation files with the file name that have the letters marked in red, which are the hash value of absolute path of an image file. Rather than storing all the annotation files in a single folder, it should add hash value folders under the single folder and classify annotation files into these folders that links with subjected image files (The layer can be multiple).

And I believe that making it possible to specify the above storage method ( Current managing style or Proposing managing style ) in the configuration file will make it more versatile.

  • Takumi Akatsuka
  • Aug 10 2021
  • Likely to Implement
  • Attach files
  • Admin
    Mark Fears commented
    13 Sep 01:43pm

    This idea has been adopted and will be implements in a future release. We are working on scheduling this update and will post later when its determined which release will include this update. I expect to have expected delivery date in a couple of months.