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
Nicolas Mowen
3921a7faa2
Catch case where detected object has a height of 0 ( #7425 )
2023-08-10 05:51:30 -05:00
Jirasak Nopparat
4c63ad767a
Remove unused code ( #7430 )
2023-08-10 05:50:01 -05:00
Nicolas Mowen
afe3b5dd3d
Fix linter error ( #7428 )
2023-08-10 05:49:11 -05:00
Nicolas Mowen
fbed3fbb8b
Fix audio filter config ( #7401 )
2023-08-06 12:19:28 -05:00
Nicolas Mowen
36ccaa4cff
Improve debug logs for audio & ptz ( #7387 )
...
* Update audio.py
* Add debug log for ptz info
* Formatting
* Fix check
2023-08-05 05:47:56 -05:00
Nicolas Mowen
98576418a8
Improve Storage Logs ( #7338 )
...
* Make storage maintenance messages more clear
* Log when storage maintenance is happening
* Formatting
2023-08-01 06:26:45 -05:00
Andrew Reiter
e941012d48
Disambiguate 12h export filename timestamp ( #7340 )
...
* Add AM/PM to exported video filename
* Switch to 24h time
2023-08-01 06:25:43 -05:00
Nicolas Mowen
b7ff6735f6
Add support for stationary and active timeline entires ( #7344 )
...
* Add support for stationary and active timeline entires
* Be sure to update stored event data copy with stationary
2023-07-31 21:43:48 -05:00
Martin Weinelt
d0b38f0a47
Reuse CACHE_DIR constant ( #7306 )
2023-07-29 13:19:21 -05:00
Nicolas Mowen
b79b1d9443
Fix frame not in cache error ( #7313 )
2023-07-29 07:11:45 -05:00
Nicolas Mowen
947ccbc654
Accept floats for export when used directly with event start / end time ( #7314 )
...
* Accept floats for export when used directly with event start / end time
* Formatting
* Formatting
2023-07-29 07:05:17 -05:00
Nicolas Mowen
f8c0f74ab8
Batch delete recordings for removed cameras as well ( #7302 )
2023-07-28 05:49:52 -05:00
Nicolas Mowen
961ce03835
Fix ffmpeg preset typo ( #7293 )
...
* Fix ffmpeg preset typo
* Fix qsv typo
Co-authored-by: Sergey Krashevich <svk@svk.su>
---------
Co-authored-by: Sergey Krashevich <svk@svk.su>
2023-07-26 18:48:05 -05:00
Nicolas Mowen
761daf46ea
Refactor Recordings ( #7275 )
...
* Run ffmpeg sub process & video_properties as async
* Run recording cleanup in the main process
* More cleanup
* Use inter process communication to write recordings into the DB
* Formatting
2023-07-26 05:55:08 -05:00
Nicolas Mowen
9016a48dc7
Refactor Audio Events To Use stdout Pipe ( #7291 )
...
* Cleanup audio detection
* Read audio frames from ffmpeg process directly
* Handle case where process has stopped
2023-07-26 05:51:45 -05:00
Andrew Reiter
a96a951e23
Nvidia Jetson ffmpeg + TensorRT support ( #6458 )
...
* Non-Jetson changes
Required for later commits:
- Allow base image to be overridden (and don't assume its WORKDIR)
- Ensure python3.9
- Map hwaccel decode presets as strings instead of lists
Not required:
- Fix existing documentation
- Simplify hwaccel scale logic
* Prepare for multi-arch tensorrt build
* Add tensorrt images for Jetson boards
* Add Jetson ffmpeg hwaccel
* Update docs
* Add CODEOWNERS
* CI
* Change default model from yolov7-tiny-416 to yolov7-320
In my experience the tiny models perform markedly worse without being
much faster
* fixup! Update docs
2023-07-26 05:50:41 -05:00