Give real-time targets proportional alpha values (#169)
Closes: #158 Signed-off-by: Justin Georgi <justin.georgi@gmail.com> Reviewed-on: #169
This commit is contained in:
@@ -368,6 +368,7 @@ import { Conv2DBackpropFilter } from '@tensorflow/tfjs'
|
||||
imCanvas.width = imCanvas.clientWidth
|
||||
imCanvas.height = imCanvas.clientHeight
|
||||
imageCtx.clearRect(0,0,imCanvas.width,imCanvas.height)
|
||||
imageCtx.globalAlpha = 1
|
||||
imageCtx.strokeStyle = 'yellow'
|
||||
imageCtx.lineWidth = 3
|
||||
return [imCanvas, imageCtx]
|
||||
|
||||
Reference in New Issue
Block a user