164 lines
3.8 KiB
Plaintext
Executable File
164 lines
3.8 KiB
Plaintext
Executable File
logger:
|
|
# Optional: default log level (default: shown below)
|
|
default: error
|
|
|
|
mqtt:
|
|
enabled: true
|
|
host: 192.168.15.7
|
|
client_id: frigate-dev
|
|
#topic_prefix: farm_sukawarna
|
|
|
|
#auth:
|
|
# enabled: true
|
|
#anonymous:
|
|
#enabled: true
|
|
|
|
detectors:
|
|
rknn_pakan:
|
|
type: rknn
|
|
# type: onnx
|
|
num_cores: 3
|
|
# fps: 10
|
|
model:
|
|
#path: /custom/ayam-andrewtest.rknn
|
|
path: /custom/karung_masuk-202602202300.rknn
|
|
#path: /custom/ultimate_karung-202602192300.rknn
|
|
#path: /custom/ultimate-201602101600.rknn
|
|
#path: /custom/best-202602051700.rknn
|
|
#path: /custom/best-2026020214.rknn
|
|
#path: /config/model_cache/krg_tuang_atas_yolov9t_best.rknn
|
|
#path: /config/model_cache/krg_tuang_yolov9t_best.rknn
|
|
#path: /config/model_cache/frigatepluspackage.rknn
|
|
#path: plus://ab218986e919914cac733842ecb7efda
|
|
#path: frigate-fp16-yolov9-t
|
|
model_type: yolo-generic
|
|
width: 320
|
|
height: 320
|
|
input_tensor: nhwc
|
|
#input_tensor: nchw
|
|
#labelmap_path: /labelmap/coco-80.txt
|
|
#labelmap_path: /custom/custom.txt
|
|
#labelmap_path: /custom/karung.txt
|
|
#labelmap_path: /custom/ayam.txt
|
|
labelmap_path: /custom/ultimate_labels.txt
|
|
ffmpeg:
|
|
hwaccel_args: preset-rkmpp
|
|
|
|
objects:
|
|
track:
|
|
- karung
|
|
- pintu-kiri-buka
|
|
- pintu-kanan-buka
|
|
#- ayam
|
|
#- class_0
|
|
#- package
|
|
#- person
|
|
filters:
|
|
# package:
|
|
# class_0:
|
|
karung:
|
|
# ayam:
|
|
min_score: 0.5
|
|
threshold: 0.7
|
|
|
|
cameras:
|
|
kandang_1_karung_masuk_test: # Kamera 1
|
|
enabled: true
|
|
ffmpeg:
|
|
inputs:
|
|
# - path: file:/custom/ayam1-320.mp4
|
|
- path: file:/custom/karung_masuk_1-short-2026-02-19.mp4
|
|
# - path: file:/custom/karung_masuk_20260207.mp4
|
|
# - path: file:/custom/merge_tuang_atas_20260208.mp4
|
|
# - path: file:/custom/merged_tuang_20260118.mp4
|
|
# - path:
|
|
# rtsp://admin:K0l0r4n123@10.182.3.156:8099/cam/realmonitor?channel=6&subtype=0
|
|
roles:
|
|
- detect
|
|
#- rtmp
|
|
input_args:
|
|
- -stream_loop
|
|
- '1' # supaya video berulang terus
|
|
- -re # baca file dengan kecepatan realtime
|
|
|
|
detect:
|
|
enabled: true
|
|
width: 640
|
|
height: 360
|
|
#width: 1280
|
|
#height: 720
|
|
#width: 1920
|
|
#height: 1080
|
|
motion:
|
|
mask: 0.723,0,0.724,0.122,1,0.125,1,0
|
|
threshold: 30
|
|
contour_area: 50
|
|
improve_contrast: true
|
|
zones:
|
|
karung_masuk:
|
|
coordinates: 0.142,0,0.038,1,0.988,1,0.911,0.011
|
|
inertia: 1
|
|
loitering_time: 0
|
|
objects: karung
|
|
#objects: ayam
|
|
pintu_kiri_buka:
|
|
coordinates: 0,0.222,0.001,0.996,0.292,0.999,0.303,0.223
|
|
inertia: 3
|
|
loitering_time: 0
|
|
objects: pintu-kiri-buka
|
|
#objects: ayam
|
|
pintu_kanan_buka:
|
|
coordinates: 0.687,0.377,0.694,0.997,0.997,0.997,0.998,0.348
|
|
loitering_time: 0
|
|
objects: pintu-kanan-buka
|
|
#objects: ayam
|
|
snapshots:
|
|
enabled: false
|
|
timestamp: true
|
|
bounding_box: true
|
|
retain:
|
|
default: 7
|
|
required_zones:
|
|
- karung_masuk
|
|
record:
|
|
enabled: false
|
|
detections:
|
|
retain:
|
|
days: 0.5
|
|
mode: motion
|
|
alerts:
|
|
retain:
|
|
days: 0.5
|
|
mode: motion
|
|
|
|
objects: {}
|
|
review: {}
|
|
notifications:
|
|
enabled: true
|
|
|
|
detect:
|
|
enabled: true
|
|
|
|
motion:
|
|
# Optional: enables detection for the camera (default: True)
|
|
# NOTE: Motion detection is required for object detection,
|
|
# setting this to False and leaving detect enabled
|
|
# will result in an error on startup.
|
|
enabled: true
|
|
version: 0.16-0
|
|
|
|
notifications:
|
|
enabled: false
|
|
email: dedy.sutanto@proit.co.id
|
|
semantic_search:
|
|
enabled: false
|
|
model_size: small
|
|
face_recognition:
|
|
enabled: false
|
|
model_size: small
|
|
lpr:
|
|
enabled: false
|
|
classification:
|
|
bird:
|
|
enabled: false
|