CENTRE-FOR-SMART-TRANSPORTATION / cst-pointcloud-annotation_web-2023

For labelling 3D bounding boxes of point clouds through a web application.
GNU General Public License v3.0
1 stars 0 forks source link

Remove (or modify) unneeded UI elements displaying real-world images #2

Open echeng-git opened 1 year ago

echeng-git commented 1 year ago

Functionality for vehicle POV images should be removed, as I don't think that we are providing real images to go with our LiDAR data. Each bounding box, when manipulating a bounding box, is mapped to a real world image that has been provided (of the example dataset). We can remove these UI elements for now, or modify them if we are providing real-world images with our LiDAR data.

image

Relevant locations (of the code) of the image POV view (draggable, top of image) can be found from the following: In index.html:

        <template id="image-wrapper-template">
            <div class="image-wrapper">
                <svg id = "maincanvas-svg" viewbox="0 0 2048 1536" preserveAspectRatio="none">
                    <image id="svg-image" x="0" y="0"  width="2048" height="1536"  preserveAspectRatio="none"
                    xlink:href=""
                    />
                    <g id="svg-boxes"></g>
                    <g id="svg-points"></g>
                </svg>
                <div id="move-handle">
                </div>
                <header id="header"></header>
            </div>
        </template>

Relevant locations (of the code) of the image view (bottom) when selecting a bounding box can be found from the following:

echeng-git commented 1 year ago

If we are using LiDAR data with images, then we can make modifications to the tool such that the user is no longer able to pan the camera (i.e. the center of rotation), rather, the center of rotation will move along the coordinates of each real world to provide a reference as the user annotates down the road.