【增加模型快捷加载方法】
This commit is contained in:
@ -41,7 +41,6 @@ export class FaceBox {
|
||||
const { imw, imh } = this.#option;
|
||||
let size = Math.max(this.width, this.height) / 2;
|
||||
const cx = this.centerX, cy = this.centerY;
|
||||
console.log(this)
|
||||
|
||||
if (cx - size < 0) size = cx;
|
||||
if (cx + size > imw) size = imw - cx;
|
||||
|
Reference in New Issue
Block a user