Add yolov8 model as limbs for testing

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
2024-03-28 20:14:35 -07:00
parent 5860939f65
commit 5154dfdac6
23 changed files with 290 additions and 4 deletions

View File

@@ -168,18 +168,16 @@
let loadOtherSettings = localStorage.getItem('otherSettings')
if (loadOtherSettings) this.otherSettings = JSON.parse(loadOtherSettings)
let modelRoot = this.isCordova ? 'https://localhost' : '.'
switch (this.f7route.params.region) {
this.detectorName = this.f7route.params.region
switch (this.detectorName) {
case 'thorax':
this.activeRegion = 0
this.detectorName = 'thorax'
break;
case 'abdomen':
this.activeRegion = 1
this.detectorName = 'abdomen'
break;
case 'limbs':
this.activeRegion = 2
this.detectorName = 'defaultNew'
break;
case 'head':
this.activeRegion = 3