Reduce import statements

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
2024-10-11 16:44:36 -07:00
parent a1320b5112
commit 259465a00b
2 changed files with 2 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ export class StructureBox {
}
}
export default class Structure {
export class Structure {
constructor(structResult) {
this.label = structResult.label
this.confidence = structResult.confidence

View File

@@ -144,8 +144,7 @@
import touchMixin from './touch-mixin'
import detectionWorker from '@/assets/detect-worker.js?worker&inline'
import Structure from '../js/structures'
import { StructureBox } from '../js/structures'
import { Structure, StructureBox } from '../js/structures'
const regions = ['Thorax','Abdomen/Pelvis','Limbs','Head and Neck']
let activeRegion = 4