|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="options-bar">
|
|
|
<div ref="draw_box"
|
|
|
- class="image"
|
|
|
+ class="image btn"
|
|
|
title="draw bounding box (Q)"
|
|
|
:class="{active: interaction === 'draw-box'}"
|
|
|
@click="$emit('interaction', 'draw-box')">
|
|
@@ -9,7 +9,7 @@
|
|
|
</div>
|
|
|
|
|
|
<div ref="extreme_clicking"
|
|
|
- class="image"
|
|
|
+ class="image btn"
|
|
|
title="extreme clicking (E)"
|
|
|
:class="{active: interaction === 'extreme-clicking'}"
|
|
|
@click="$emit('interaction', interaction === 'extreme-clicking' ? 'draw-box' : 'extreme-clicking')">
|
|
@@ -22,7 +22,7 @@
|
|
|
<div class="spacer"/>
|
|
|
|
|
|
<div ref="move_box"
|
|
|
- class="image"
|
|
|
+ class="image btn"
|
|
|
title="move and resize bounding box (R)"
|
|
|
:class="{active: interaction === 'move-box'}"
|
|
|
@click="$emit('interaction', 'move-box')">
|
|
@@ -31,7 +31,7 @@
|
|
|
|
|
|
<div v-if="labelsEnabled"
|
|
|
ref="labels"
|
|
|
- class="image"
|
|
|
+ class="image btn"
|
|
|
title="label bounding box (T)"
|
|
|
:class="{active: interaction === 'label-box'}"
|
|
|
@click="labelSelector=true">
|
|
@@ -44,7 +44,7 @@
|
|
|
@label="$emit('interaction', 'label-box'); $emit('label', $event)"/>
|
|
|
|
|
|
<div ref="confirm_box"
|
|
|
- class="image"
|
|
|
+ class="image btn"
|
|
|
title="confirm bounding box (G)"
|
|
|
:class="{active: interaction === 'confirm-box'}"
|
|
|
@click="$emit('interaction', 'confirm-box')">
|
|
@@ -52,7 +52,7 @@
|
|
|
</div>
|
|
|
|
|
|
<div ref="remove_box"
|
|
|
- class="image"
|
|
|
+ class="image btn"
|
|
|
title="remove bounding box (F)"
|
|
|
:class="{active: interaction === 'remove-box'}"
|
|
|
@click="$emit('interaction', 'remove-box')">
|
|
@@ -62,7 +62,7 @@
|
|
|
<div class="spacer"/>
|
|
|
|
|
|
<div ref="crop_info"
|
|
|
- class="image"
|
|
|
+ class="image btn"
|
|
|
title="Show info of a bounding box (I)"
|
|
|
:class="{active: interaction === 'info-box'}"
|
|
|
@click="$emit('infoBox')">
|
|
@@ -70,7 +70,7 @@
|
|
|
</div>
|
|
|
|
|
|
<div ref="zoom_annotation"
|
|
|
- class="image"
|
|
|
+ class="image btn"
|
|
|
title="zoom bounding box (X)"
|
|
|
:class="{active: interaction === 'zoom-box' || zoomBox}"
|
|
|
@click="$emit(zoomBox ? 'unzoom' : 'interaction', 'zoom-box')">
|
|
@@ -78,14 +78,14 @@
|
|
|
</div>
|
|
|
|
|
|
<div ref="zoom_prev_annotation"
|
|
|
- class="image"
|
|
|
+ class="image btn"
|
|
|
title="zoom previous bounding box (C)"
|
|
|
@click="$emit('prevzoom', true)">
|
|
|
<img alt="zoom previous bounding box" src="@/assets/icons/chevron-left.svg">
|
|
|
</div>
|
|
|
|
|
|
<div ref="zoom_next_annotation"
|
|
|
- class="image"
|
|
|
+ class="image btn"
|
|
|
title="zoom next bounding box (V)"
|
|
|
@click="$emit('nextzoom', true)">
|
|
|
<img alt="zoom next bounding box" src="@/assets/icons/chevron-right.svg">
|
|
@@ -94,7 +94,7 @@
|
|
|
<div class="spacer"/>
|
|
|
|
|
|
<div ref="show_user_annotations"
|
|
|
- class="image"
|
|
|
+ class="image btn"
|
|
|
title="show user annotations"
|
|
|
:class="{active: filter && filter.includes('user')}"
|
|
|
@click="invertFilter('user')">
|
|
@@ -102,7 +102,7 @@
|
|
|
</div>
|
|
|
|
|
|
<div ref="show_pipeline_annotations"
|
|
|
- class="image"
|
|
|
+ class="image btn"
|
|
|
title="show pipeline annotations"
|
|
|
:class="{active: filter && filter.includes('pipeline')}"
|
|
|
@click="invertFilter('pipeline')">
|
|
@@ -112,7 +112,7 @@
|
|
|
<div class="spacer"/>
|
|
|
|
|
|
<div ref="create_predictions"
|
|
|
- class="image"
|
|
|
+ class="image btn"
|
|
|
title="create predictions (B)"
|
|
|
:class="{active: isPredictionRunning}"
|
|
|
@click="predict">
|
|
@@ -276,7 +276,7 @@ export default {
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
|
|
|
- cursor: pointer;
|
|
|
+ /*cursor: pointer;*/
|
|
|
|
|
|
margin: 0.4rem;
|
|
|
border: 1px solid whitesmoke;
|