romi / plant-3d-vision

Reconstruct a 3D digital twin of the plant from pictures (RGB images) and quantify its phyllotaxis.
https://docs.romi-project.eu/plant_imager/
GNU Lesser General Public License v3.0
5 stars 1 forks source link

Avoid duplicated data in Visualization directory #63

Open Raphalex46 opened 4 years ago

Raphalex46 commented 4 years ago

Currently, the only data available to the romidata REST API, and thus, the visualizer, is the data located in the Visualization directory (as well as the metadata and images directories).

The problem is that this creates a duplication of the data. For exemple, AnglesAndInternodes.json is present in the AnglesAndInternodes_out_somethingsomething as well as in the Visualization directory.

My suggestion to solve this problem would be to keep the Visualization directory, or replace it with a json file, and only store URIs inside of it. That way, the visualizer would have access to the same data, but without duplication.

This solution would also make it easy to give access to certain files to the visualizer, as we would only need to add an entry in the json file.

@jlegrand62

Running "Visualization" task to access a scan and subsequent output is problematic: