-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Bubbles The Dev <152947339+KernFerm@users.noreply.github.com>
- Loading branch information
Showing
1 changed file
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,24 @@ | ||
# Configuration for BetterCam Screen Capture and YOLO model | ||
screenWidth = 320 # Recommended screen width | ||
screenHeight = 320 # Recommended screen height | ||
|
||
# Screen Capture Settings | ||
screenWidth = 480 # Updated screen width for better resolution | ||
screenHeight = 480 # Updated screen height for better resolution | ||
|
||
# Object Detection Settings | ||
confidenceThreshold = 0.5 # Confidence threshold for object detection | ||
nmsThreshold = 0.4 # Non-max suppression threshold to filter overlapping boxes | ||
|
||
# YOLO Model Settings | ||
modelType = 'onnx' # Choose 'torch' or 'onnx' based on the model you want to load | ||
torchModelPath = 'models/fn_v5.pt' # Path to YOLOv5 PyTorch model | ||
onnxModelPath = 'models/fn_v5.onnx' # Path to YOLOv5 ONNX model | ||
|
||
# BetterCam Settings | ||
targetFPS = 60 # Frames per second for capturing | ||
maxBufferLen = 512 # Max buffer length for storing frames | ||
region = None # Region for capture (set to None for full screen) | ||
useNvidiaGPU = True # Set to True to enable GPU acceleration if available | ||
|
||
# Colors for Bounding Boxes | ||
boundingBoxColor = (0, 255, 0) # Default bounding box color in BGR format | ||
highlightColor = (0, 0, 255) # Color for highlighted objects |