Skip to content
Snippets Groups Projects

Resolve "combine matchsalamander with ai"

Merged Herman Andersen Dyrkorn requested to merge 18-combine-matchsalamander-with-ai into master
2 files
+ 12
9
Compare changes
  • Side-by-side
  • Inline

Files

@@ -9,7 +9,7 @@ from tensorflow.python.keras.layers import Minimum
import algorithm.train_src.predict_salamander_abdomen as psa
from threading import Semaphore
DEEPLABCUT_CONFIG_PATH = "./dlc_model/config.yaml"
DEEPLABCUT_CONFIG_PATH = "./algorithm/train_src/dlc_model/config.yaml"
########################################
# CONSTANTS
########################################
@@ -29,7 +29,7 @@ STRAIGTHENED_IMAGE_ASPECT_RATIO = STRAIGTHENED_IMAGE_HEIGHT / STRAIGTHENED_IMAGE
# amount of pixels to add to the width of the shoulder including what the AI estimates:
SHOULDER_ESTIMATION_BUFFER = 15
# minimum distance between shoulder points in pixels:
MINIMUM_SHOULDER_WIDTH = 100
MINIMUM_SHOULDER_WIDTH = 50
# minimum distance between the points, 2 and 3 in pixels:
MINIMUM_MID_POINT_DISTANCE = 30
Loading