Big fix structure box color
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
@@ -357,12 +357,6 @@
|
|||||||
xhr.send()
|
xhr.send()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
|
||||||
const imCanvas = this.$refs.image_cvs
|
|
||||||
const imageCtx = imCanvas.getContext("2d")
|
|
||||||
imageCtx.strokeStyle = 'yellow'
|
|
||||||
imageCtx.lineWidth = 3
|
|
||||||
},
|
|
||||||
computed: {
|
computed: {
|
||||||
showResults () {
|
showResults () {
|
||||||
var filteredResults = this.resultData.detections
|
var filteredResults = this.resultData.detections
|
||||||
@@ -486,6 +480,8 @@
|
|||||||
imCanvas.width = imCanvas.clientWidth
|
imCanvas.width = imCanvas.clientWidth
|
||||||
imCanvas.height = imCanvas.clientHeight
|
imCanvas.height = imCanvas.clientHeight
|
||||||
imageCtx.clearRect(0,0,imCanvas.width,imCanvas.height)
|
imageCtx.clearRect(0,0,imCanvas.width,imCanvas.height)
|
||||||
|
imageCtx.strokeStyle = 'yellow'
|
||||||
|
imageCtx.lineWidth = 3
|
||||||
return [imCanvas, imageCtx]
|
return [imCanvas, imageCtx]
|
||||||
},
|
},
|
||||||
getImage (searchImage) {
|
getImage (searchImage) {
|
||||||
|
|||||||
Reference in New Issue
Block a user