diff --git a/chameleon-client/src/App.vue b/chameleon-client/src/App.vue
index 2fb184715..4bb7f2913 100644
--- a/chameleon-client/src/App.vue
+++ b/chameleon-client/src/App.vue
@@ -1,95 +1,94 @@
-
-
-
- Chameleon Vision
-
-
-
- Vision
- Settings
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ Chameleon Vision
+
+
+
+ Vision
+ Settings
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/chameleon-client/src/components/OutputTab/DualCalibration.vue b/chameleon-client/src/components/OutputTab/DualCalibration.vue
index 6fcbd8dcd..8e0a65cc3 100644
--- a/chameleon-client/src/components/OutputTab/DualCalibration.vue
+++ b/chameleon-client/src/components/OutputTab/DualCalibration.vue
@@ -49,6 +49,7 @@
sendSlope(m, b, valid) {
this.handleInput('m', m);
this.handleInput('b', b);
+ this.$emit('update');
},
clearSlope() {
this.sendSlope(1, 0, false);
diff --git a/chameleon-client/src/components/OutputTab/SingleCalibration.vue b/chameleon-client/src/components/OutputTab/SingleCalibration.vue
index 77ab8eafe..c77dc8b53 100644
--- a/chameleon-client/src/components/OutputTab/SingleCalibration.vue
+++ b/chameleon-client/src/components/OutputTab/SingleCalibration.vue
@@ -15,12 +15,14 @@
export default {
name: "SingleCalibration",
props: ['rawPoint'],
- methods:{
- clearPoint(){
- this.handleInput('point',[0,0]);
+ methods: {
+ clearPoint() {
+ this.handleInput('point', [0, 0]);
+ this.$emit('update');
},
- takePoint(){
- this.handleInput('point',this.rawPoint);
+ takePoint() {
+ this.handleInput('point', this.rawPoint);
+ this.$emit('update');
}
}
}
diff --git a/chameleon-client/src/components/cv-icon.vue b/chameleon-client/src/components/cv-icon.vue
index a98b8a0f4..49bf772d8 100644
--- a/chameleon-client/src/components/cv-icon.vue
+++ b/chameleon-client/src/components/cv-icon.vue
@@ -2,7 +2,7 @@
- {{text}}
+ {{text}}
{{tooltip}}
@@ -12,20 +12,18 @@
\ No newline at end of file
diff --git a/chameleon-client/src/components/cv-input.vue b/chameleon-client/src/components/cv-input.vue
index 342bf2094..76d7f864c 100644
--- a/chameleon-client/src/components/cv-input.vue
+++ b/chameleon-client/src/components/cv-input.vue
@@ -5,7 +5,8 @@
{{name}}
-
+
@@ -14,26 +15,24 @@
\ No newline at end of file
diff --git a/chameleon-client/src/components/cv-number-input.vue b/chameleon-client/src/components/cv-number-input.vue
index 375861c1d..e97d6ac88 100644
--- a/chameleon-client/src/components/cv-number-input.vue
+++ b/chameleon-client/src/components/cv-number-input.vue
@@ -5,7 +5,8 @@
{{name}}
-
+
@@ -14,18 +15,16 @@
\ No newline at end of file
diff --git a/chameleon-client/src/components/cv-radio.vue b/chameleon-client/src/components/cv-radio.vue
index 91dfb88ab..a6ec40a01 100644
--- a/chameleon-client/src/components/cv-radio.vue
+++ b/chameleon-client/src/components/cv-radio.vue
@@ -1,7 +1,7 @@
-
+
@@ -9,19 +9,17 @@
\ No newline at end of file
diff --git a/chameleon-client/src/components/cv-range-slider.vue b/chameleon-client/src/components/cv-range-slider.vue
index 7a2d5e6fd..571fa086f 100644
--- a/chameleon-client/src/components/cv-range-slider.vue
+++ b/chameleon-client/src/components/cv-range-slider.vue
@@ -5,13 +5,18 @@
{{name}}
-
-
-
+
+
+
-
+
@@ -22,43 +27,43 @@
\ No newline at end of file
diff --git a/chameleon-client/src/components/cv-select.vue b/chameleon-client/src/components/cv-select.vue
index 331330ca5..44a713527 100644
--- a/chameleon-client/src/components/cv-select.vue
+++ b/chameleon-client/src/components/cv-select.vue
@@ -5,7 +5,8 @@
{{name}}
-
+
@@ -14,26 +15,26 @@
\ No newline at end of file
diff --git a/chameleon-client/src/components/cv-switch.vue b/chameleon-client/src/components/cv-switch.vue
index 5e0fed2dd..de049dc09 100644
--- a/chameleon-client/src/components/cv-switch.vue
+++ b/chameleon-client/src/components/cv-switch.vue
@@ -5,7 +5,7 @@
{{name}}
-
+
@@ -14,19 +14,17 @@
\ No newline at end of file
diff --git a/chameleon-client/src/main.js b/chameleon-client/src/main.js
index 8c3acef75..e5b238da4 100644
--- a/chameleon-client/src/main.js
+++ b/chameleon-client/src/main.js
@@ -8,19 +8,19 @@ import msgPack from 'msgpack5';
Vue.config.productionTip = false;
// Vue.use(VueNativeSock,'ws://' + location.host + '/websocket',{format: 'json'});
-Vue.use(VueNativeSock,'ws://'+location.hostname+':8888/websocket');
+Vue.use(VueNativeSock, 'ws://' + location.hostname + ':8888/websocket');
Vue.prototype.$msgPack = msgPack(true)
Vue.mixin({
- methods:{
- handleInput(key,value){
- let msg = this.$msgPack.encode({[key]:value})
- this.$socket.send(msg);
+ methods: {
+ handleInput(key, value) {
+ let msg = this.$msgPack.encode({[key]: value})
+ this.$socket.send(msg);
+ }
}
- }
})
new Vue({
- router,
- store,
- vuetify,
- render: h => h(App)
+ router,
+ store,
+ vuetify,
+ render: h => h(App)
}).$mount('#app')
diff --git a/chameleon-client/src/plugins/vuetify.js b/chameleon-client/src/plugins/vuetify.js
index 45a2cd164..5522f5991 100644
--- a/chameleon-client/src/plugins/vuetify.js
+++ b/chameleon-client/src/plugins/vuetify.js
@@ -1,13 +1,11 @@
-
import '@mdi/font/css/materialdesignicons.css';
import 'material-design-icons-iconfont/dist/material-design-icons.css'
import Vue from 'vue';
import Vuetify from 'vuetify/lib';
+
Vue.use(Vuetify);
export default new Vuetify({
- icons: {
-
-}
-
+ icons: {}
+
});
diff --git a/chameleon-client/src/views/Camera.vue b/chameleon-client/src/views/Camera.vue
index 3a2fabd9d..87d07cb48 100644
--- a/chameleon-client/src/views/Camera.vue
+++ b/chameleon-client/src/views/Camera.vue
@@ -26,64 +26,75 @@
@input="handleInput('currentPipeline',currentPipelineIndex)"/>
-
-
-
- menu
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ menu
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+ save
+ Save
+
+
-
+
Input
Threshold
Contours
Output
-
-
+
+
+
+
-
+
Normal
Threshold
@@ -95,11 +106,11 @@
-
-
-
-
- Duplicate Pipeline
+
+
+
+
+ Duplicate Pipeline
@@ -113,27 +124,34 @@
Duplicate
Cancels
-
-
-
-
+
+
+
+
Can not remove the only pipeline!
Close
-
+
+
+
+
Saved All changes
+
+
+
\ No newline at end of file
diff --git a/chameleon-client/src/views/CameraViewes/InputTab.vue b/chameleon-client/src/views/CameraViewes/InputTab.vue
index ba6b06168..6d602b5a4 100644
--- a/chameleon-client/src/views/CameraViewes/InputTab.vue
+++ b/chameleon-client/src/views/CameraViewes/InputTab.vue
@@ -1,34 +1,39 @@
-
-
-
+
+
+
\ No newline at end of file
diff --git a/chameleon-client/src/views/CameraViewes/OutputTab.vue b/chameleon-client/src/views/CameraViewes/OutputTab.vue
index b740bac70..a81dce2cb 100644
--- a/chameleon-client/src/views/CameraViewes/OutputTab.vue
+++ b/chameleon-client/src/views/CameraViewes/OutputTab.vue
@@ -2,12 +2,12 @@
+ @input="handleData('sortMode')"/>
Calibrate:
-
+ @input="handleData('calibrationMode')"/>
+
Points are too close
Close
@@ -16,19 +16,27 @@
diff --git a/chameleon-client/src/views/Settings.vue b/chameleon-client/src/views/Settings.vue
index 955341178..763e67c22 100644
--- a/chameleon-client/src/views/Settings.vue
+++ b/chameleon-client/src/views/Settings.vue
@@ -2,12 +2,13 @@
-
+
General
Cameras
-
+
@@ -15,28 +16,28 @@
-
+
\ No newline at end of file
diff --git a/chameleon-client/src/views/SettingsViewes/Cameras.vue b/chameleon-client/src/views/SettingsViewes/Cameras.vue
index 9ee8ec314..926c69e50 100644
--- a/chameleon-client/src/views/SettingsViewes/Cameras.vue
+++ b/chameleon-client/src/views/SettingsViewes/Cameras.vue
@@ -1,69 +1,69 @@
-
-
-
-
+
+
+
+
Save Camera Settings
\ No newline at end of file
diff --git a/chameleon-client/src/views/SettingsViewes/General.vue b/chameleon-client/src/views/SettingsViewes/General.vue
index 733cd7078..87b28c56e 100644
--- a/chameleon-client/src/views/SettingsViewes/General.vue
+++ b/chameleon-client/src/views/SettingsViewes/General.vue
@@ -1,46 +1,46 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Save General Settings
\ No newline at end of file