fixed bug
This commit is contained in:
@@ -52,6 +52,7 @@ function Object_Detection() {
|
||||
const drawBBox = () => {
|
||||
const video = videoRef.current;
|
||||
const canvas = canvasRefBBox.current;
|
||||
if (!canvas) return;
|
||||
|
||||
const ctx = ctxRefBBox.current;
|
||||
if (!ctx) return;
|
||||
|
||||
Reference in New Issue
Block a user