Blake Blackshear
91ac4c4cee
define detect resolution to speed up tests
2023-10-14 06:47:23 -05:00
Blake Blackshear
b85c488d7e
don't zero out motion boxes
2023-10-14 06:47:06 -05:00
Nicolas Mowen
4c7ea01137
Don't print ffprobe stdout logs ( #8153 )
2023-10-13 17:04:38 -05:00
Nicolas Mowen
34b315cc8c
Fix bug forcing rtsp for audio detection ffmpeg process ( #8156 )
...
* Fix forcing rtsp for audio process
* Send as list
2023-10-13 17:03:04 -05:00
Nicolas Mowen
9b687d77ce
Add support for nvidia decoder and encoder utilization stats ( #8150 )
...
* Add encoder and decoder stats to nvidia hwaccel stats
* Fix
* Fix
2023-10-13 09:44:18 -05:00
tpjanssen
e32bd4ab15
Added audio sensors to camera metrics and API stats ( #8109 )
...
* Added audio sensor to camera metrics and API stats
* Update types.py
* Update app.py
2023-10-13 06:17:41 -05:00
Nicolas Mowen
e19c0668e7
Require init delay ( #8126 )
2023-10-13 06:16:36 -05:00
tpjanssen
a82334ca1c
API enhancements ( #8107 )
2023-10-09 08:52:26 -05:00
Josh Hawkins
dbd21eb6fa
use getattr instead of get ( #8094 )
2023-10-08 14:30:23 -05:00
Nicolas Mowen
7f5fba08b7
Fix export name ( #8090 )
2023-10-07 08:40:20 -06:00
Nicolas Mowen
49e7723405
Add debug logs for audio labels ( #8080 )
2023-10-07 09:23:11 -05:00
Nicolas Mowen
52cc707eb8
Consider new attribute a significant change ( #8054 )
...
* Consider new attribute a significant change
* Update object_processing.py
2023-10-07 09:22:45 -05:00
tpjanssen
c47b02d2fe
Added filter option for min/max score for event to API function /events ( #8079 )
...
* Update api.md
* Update api.md
* Added filter option for min/max score for event to API function /events
* Added filter for submitted events
* Update http.py
2023-10-07 09:22:14 -05:00
Josh Hawkins
67a5a7d21a
onvif: use preset token if name is unsupported ( #8046 )
...
* onvif: use preset token if name is unsupported
* move parenthesis
2023-10-07 09:20:42 -05:00
Nicolas Mowen
8bde914939
Fix a couple bugs ( #8045 )
2023-10-07 09:18:34 -05:00
Josh Hawkins
fe9fcf3eaa
remove erroneous check for move threads ( #8031 )
2023-10-07 09:18:07 -05:00
Josh Hawkins
20c2ab39bc
disable zooming if relative zoom not supported ( #8028 )
2023-10-07 09:17:54 -05:00
Nicolas Mowen
08ef69bac4
Add recordings timeline entry for frigate+ attributes ( #8063 )
...
* Add attribute item to timeline
* Add face icon
* Add support for other icons
* Cleanup
* Ensure attributes are only updated once
* don't show _ in attributes
2023-10-07 09:17:18 -05:00
Nicolas Mowen
79fabbb6b0
Fix recording snapshot time range ( #8073 )
...
* Fix recording snapshot time range
* Formatting
* Formatting
2023-10-07 09:16:12 -05:00
Nicolas Mowen
8941aa5311
Ensure deleted export file name is safe ( #8089 )
...
* Ensure deleted export file name is safe
* Fix import
2023-10-07 09:12:48 -05:00
Blake Blackshear
14d2b79c72
Security fixes ( #8081 )
...
* use safeloader
* use json responses wherever possible
* remove CORS and add CSRF token
* formatting fixes
* add envjs back
* fix baseurl test
2023-10-06 22:20:30 -05:00
Nicolas Mowen
9a4f970337
Set default min score for attributes labels to 0.7 ( #8001 )
...
* Set min score for attributes to 0.7
* Allow other fields to be set
2023-09-30 07:38:15 -05:00
Nicolas Mowen
232588636f
Force birdseye to standard aspect ratio ( #7994 )
...
* Force birdseye to standard aspect ratio
* Make rounding consistent
* Formatting
2023-09-29 17:53:45 -05:00
Josh Hawkins
ead03c381b
Autotracking improvements and bugfixes ( #7984 )
...
* add zoom factor and catch motion exception
* reword error message
* check euclidean distance of estimate points
* use numpy for euclidean distance
* config entry
* use zoom factor and zoom based on velocity
* move debug inside try
* change log type to info
* logger level warning
* docs
* exception handling
2023-09-28 18:21:37 -05:00
Josh Hawkins
50f13b7196
thread lock for move queues ( #7973 )
2023-09-28 18:01:05 -05:00
Josh Hawkins
27144eb0b9
Autotracker: Basic zooming and moves with velocity estimation ( #7713 )
...
* don't zoom if camera doesn't support it
* basic zooming
* make zooming configurable
* zooming docs
* optional zooming in camera status
* Use absolute instead of relative zooming
* increase edge threshold
* zoom considering object area
* bugfixes
* catch onvif zooming errors
* relative zooming option for dahua/amcrest cams
* docs
* docs
* don't make small movements
* remove old logger statement
* fix small movements
* use enum in config for zooming
* fix formatting
* empty move queue first
* clear tracked object before waiting for stop
* use velocity estimation for movements
* docs updates
* add tests
* typos
* recalc every 50 moves
* adjust zoom based on estimate box if calibrated
* tweaks for fast objects and large movements
* use real time for calibration and add info logging
* docs updates
* remove area scale
* Add example video to docs
* zooming font header size the same as the others
* log an error if a ptz doesn't report a MoveStatus
* debug logging for onvif service capabilities
* ensure camera supports ONVIF MoveStatus
2023-09-27 06:19:10 -05:00
Nicolas Mowen
1aba8c1ef5
Refactor time filter ( #7962 )
...
* Add ability to filter events by start time
* Add tests
* Add time param to events
* Add time picker
* Update docs
* Catch overnight case
Update comment
* Cleanup
* Fix tests
2023-09-27 06:09:38 -05:00
Nicolas Mowen
1c27ee2d2b
Increase initial hit count for norfair tracker ( #7925 )
...
* Increase initial hit count of tracked object
* Formatting
2023-09-24 06:32:43 -05:00
Nicolas Mowen
08586f8f65
Fix case where camera is disabled but autotrack is enabled ( #7914 )
2023-09-24 05:05:29 -05:00
Nicolas Mowen
7d0216b8fb
Improve default timelapse args and make timelapse customizable ( #7840 )
...
* Add args to ignore audio and only process keyframes
* Add timelapse args to config
* Update docs
* Formatting
* Fix spacing
* Fix formatting
* add example of math for pts
2023-09-21 06:20:05 -06:00
Nicolas Mowen
fd9196ae3e
add note about network bandwidth permissions and don't set interfaces by default ( #7813 )
...
* add note about network bandwidth permissions
* Update default net int
* Set default network interfaces to empty
* Don't read interfaces if none are set
* Formatting
* Add stderr output
2023-09-21 05:26:22 -05:00
Nicolas Mowen
111933d3b4
Refactor Exports To Better Handle Recording Configs ( #7846 )
...
* Refactor export logic
* Fix param
* Ensure float is used
* Fix variable assignment
* Fix range
* Formatting
2023-09-21 05:24:49 -05:00
Nicolas Mowen
5d30944d6e
Add fire alarm to default audio labels ( #7854 )
...
* Add fire alarm to default audio list
* Update docs for default audio label list
* Update audio detectors with default label list
2023-09-21 05:23:26 -05:00
Nicolas Mowen
3797340efa
Set export sub process to be lower priority ( #7862 )
2023-09-21 05:22:35 -05:00
Nicolas Mowen
8728139ae3
Fix birdseye exception handling ( #7864 )
2023-09-21 05:22:11 -05:00
Nicolas Mowen
730851cda9
Remove frame interval for qsv timelapse output args ( #7873 )
2023-09-21 05:21:53 -05:00
Nicolas Mowen
46412e99d9
revert 1/2 min region size ( #7883 )
2023-09-21 05:21:32 -05:00
Nicolas Mowen
e5664826b1
Add ability to play and delete exports from webUI ( #7882 )
...
* add ability to playback exports on exports screen
* Add ability to delete exports from exports screen
* Fix large dialog
* Formatting
2023-09-21 05:20:57 -05:00
Nicolas Mowen
9a1c8b2cc4
Remove maximum inertia constraint ( #7890 )
2023-09-21 05:20:26 -05:00
Nicolas Mowen
b9e6afa659
Fix webUI success / error messages ( #7820 )
...
* Fix export error handling
* Ensure that config editor success / error is updated each time
* Set response
* Formatting
2023-09-16 04:59:50 -05:00
Nicolas Mowen
a2206bb177
Reduce database queries to necessary fields ( #7751 )
...
* Reduce database queries to necessary labels
* Set columns for other queries
* skip creating model instances
---------
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
2023-09-11 17:07:04 -05:00
Nicolas Mowen
db6ee41f3c
Improve error checking and handling for recordings export ( #7647 )
...
* Improve error checking and handling for recordings export
* Cleanup
* Remove order by
2023-09-02 05:42:33 -05:00
Nicolas Mowen
36434bb26d
Run flask as multi threaded ( #7648 )
2023-09-02 05:41:46 -05:00
Nicolas Mowen
2e4f5bc0e0
Don't fail ptz if camera does not support relative zoom ( #7542 )
...
* Remove relative zoom space as it is not used
* Catch case where camera does not support relative zoom
* Cleanup
2023-09-01 07:07:18 -05:00
Nicolas Mowen
bd0d16a75b
Set commands before subscribing to messages ( #7550 )
2023-09-01 07:06:59 -05:00
Nicolas Mowen
7069ef93bb
Catch broken pipe when sending to websocket ( #7556 )
2023-09-01 07:06:39 -05:00
Nicolas Mowen
45f7db5cf1
Show sub label in debug view when available ( #7567 )
...
* Show sub label in debug view if available
* Ensure sub label is printable to be used
2023-09-01 07:03:47 -05:00
Nicolas Mowen
bbdf5e1bee
Don't count in progress events as duplicates ( #7568 )
...
* Don't count in progress events as duplicates
* Fix sql
2023-09-01 07:02:35 -05:00
Sergey Krashevich
731743c7e5
Refactor AudioTfl class to accept the number of detection threads as a parameter in the constructor, and update the usage of the num_threads attribute accordingly ( #7588 )
2023-09-01 07:00:11 -05:00
Nicolas Mowen
767abed7f0
Catch websocket exception in output ( #7525 )
2023-08-19 13:38:47 -05:00