-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from jwillikers/hailo2
Add support for using the Raspberry Pi AI accelerator
- Loading branch information
Showing
14 changed files
with
506 additions
and
274 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
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 |
---|---|---|
|
@@ -26,6 +26,7 @@ | |
"gpsdctl", | ||
"grayscale", | ||
"gstreamer", | ||
"hailo", | ||
"hynix", | ||
"Hyperpixel", | ||
"ifdef", | ||
|
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
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
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
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# This config template is tweaked for capturing fast-moving creatures, such as birds. | ||
# Note that without global shutter, there can be distortions in the image when the creature is moving quickly. | ||
# Rolling shutter also makes it more difficult to successfully detect fast-moving objects. | ||
[detectionator] | ||
|
||
# Capture several photographs upon a successful detection. | ||
# Re-running the detection algorithm before taking another photograph may lead to a considerable delay before another picture. | ||
burst = 1 | ||
|
||
# Use the exact ratio for the Hailo chip. | ||
align_resolutions = false | ||
|
||
# Focus the lens on the closest part of the range. | ||
# todo Test how well the Macro range works. | ||
# autofocus-range = "macro" | ||
autofocus-range = "full" | ||
|
||
autofocus-mode = "auto" | ||
|
||
# Focus the lens as quickly as possible. | ||
autofocus-speed = "fast" | ||
|
||
detection-threshold = 0.4 | ||
|
||
encoder-quality = "high" | ||
|
||
focal-detection-threshold = 0.25 | ||
|
||
# capture-mode = "video" | ||
#stream = "mediamtx.lan.jwillikers.io:8554/detectionator" | ||
#rtsp-tcp = false | ||
|
||
# Don't use a gap after a successful detection but start searching again immediately. | ||
gap = 0 | ||
|
||
hailo = true | ||
|
||
# Below are standard options. | ||
label = "/usr/local/share/detectionator/models/coco_labels_hailo.txt" | ||
log-level = "info" | ||
match = ["bird", "bear", "cat", "cow", "dog", "elephant", "giraffe", "horse", "sheep", "zebra"] | ||
model = "/usr/share/hailo-models/yolov8s_h8l.hef" | ||
output = "~/Pictures" |
Oops, something went wrong.