This commit is contained in:
Matt
2020-01-08 00:11:34 -08:00
committed by oriagranat9
parent 97a6e1419d
commit 0e2e950d18
129 changed files with 2565 additions and 1170 deletions

View File

@@ -38,7 +38,9 @@ export default new Vuex.Store({
calibrationMode: 0,
videoModeIndex: 0,
streamDivisor: 0,
is3D: false
is3D: false,
targetRegion:0,
targetOrientation:1
},
cameraSettings: {
calibration: [],

View File

@@ -4,17 +4,12 @@
<v-col :cols="6">
<CVswitch :disabled="allow3D" v-model="value.is3D" name="Enable 3D" @input="handleData('is3D')"/>
</v-col>
<v-col>
<CVnumberInput name="Max Height:" v-model="value.targetHeight" @input="handleData('targetHeight')"/>
<CVnumberInput name="Max Width:" v-model="value.targetWidth" @input="handleData('targetWidth')"/>
</v-col>
<!-- <v-col>-->
<!-- <v-col>-->
<!-- <input type="file" ref="file" style="display: none" accept=".csv" @change="readFile">-->
<!-- <v-btn @click="$refs.file.click()" small>-->
<!-- upload model-->
<!-- </v-btn>-->
<!-- </v-col>-->
</v-row>
<mini-map class="miniMapClass" :targets="targets" :horizontal-f-o-v="horizontalFOV"/>
</div>

View File

@@ -1,8 +1,11 @@
<template>
<div>
<CVselect name="SortMode" v-model="value.sortMode"
<CVselect name="Sort Mode" v-model="value.sortMode"
:list="['Largest','Smallest','Highest','Lowest','Rightmost','Leftmost','Centermost']"
@input="handleData('sortMode')"/>
<CVselect v-model="value.targetRegion" name="Target Region" :list="['Center','Top','Bottom','Left','Right']" @input="handleData('targetRegion')"/>
<CVselect name="Target Orientation" :list="['Portrait', 'Landscape']" v-model="value.targetOrientation"
@input="handleData('targetOrientation')"/>
<CVswitch name="Output multiple" v-model="value.multiple" @input="handleData('multiple')"/>
<span>Calibrate:</span>
<v-divider dark color="white"/>
@@ -41,7 +44,7 @@
doUpdate() {
this.$emit('update')
},
showSnackbar(message){
showSnackbar(message) {
this.snackbarText = message;
this.snackbar = true;
},
@@ -50,7 +53,7 @@
data() {
return {
snackbar: false,
snackbarText:""
snackbarText: ""
}
},
computed: {