George Tsiamasiotis
f90172c2db
CameraTracker formatting
2024-10-02 22:01:18 +03:00
George Tsiamasiotis
42103ebfb5
Switch app stop_event to use threading.Event
2024-10-02 19:16:53 +03:00
George Tsiamasiotis
af39439546
Properly call super() in subclasses
2024-10-02 19:08:01 +03:00
George Tsiamasiotis
32787e2789
Do not reopen stdout and stderr on fork
...
This is no longer necessary, since we switched to forkserver
2024-10-02 18:44:12 +03:00
George Tsiamasiotis
2e432601b6
Remove no longer used util.listen function
...
py-spy dump --pid <pid> makes for a nice alternative we don't have to maintain. Plus it can show local variables.
2024-10-02 13:05:25 +03:00
George Tsiamasiotis
3987d09550
Make ObjectDetectProcess into an actual process
2024-10-02 13:04:37 +03:00
George Tsiamasiotis
3badc757cc
Process subclass for output_frames
2024-10-02 12:14:14 +03:00
George Tsiamasiotis
09256a4cc8
Split video.py
2024-10-02 12:01:54 +03:00
George Tsiamasiotis
5df681697e
Use threading Event for process stop
...
Python's multiprocessing.Event does not like being called from signal handlers. Another option would be to start a thread to set the stop_event on receiveSignal, but that seems unnecessary.
2024-10-02 11:54:49 +03:00
George Tsiamasiotis
e204dfc1c3
Lazily initialize util.Process stop_event
2024-10-02 10:19:02 +03:00
George Tsiamasiotis
e8aeaf7521
Fix import styling
2024-10-02 10:16:26 +03:00
George Tsiamasiotis
4fc970dbdd
Move track_camera into CameraTracker process
2024-10-02 09:17:45 +03:00
George Tsiamasiotis
abe4ce43f3
Merge EmbeddingsMaintainer
2024-10-01 09:03:32 +03:00
George Tsiamasiotis
486793e454
Merge ReviewSegmentMaintainer
2024-10-01 08:34:21 +03:00
George Tsiamasiotis
6db9a8c639
Remove superfluous RecordingMaintainer thread
2024-09-30 16:58:35 +03:00
George Tsiamasiotis
e2ad2c43b0
Make manage_recordings into a process subclass
2024-09-30 16:16:09 +03:00
George Tsiamasiotis
0fcba9b676
Remove redundant capture methods in video.py
2024-09-30 15:59:26 +03:00
George Tsiamasiotis
7bf21bd533
Properly silence pewee_migrate
2024-09-30 15:59:26 +03:00
George Tsiamasiotis
0f88a804b1
Configure faulthandler on every process
2024-09-30 15:06:55 +03:00
George Tsiamasiotis
0509a52d6e
Set multiprocessing start method early
2024-09-30 15:05:13 +03:00
George Tsiamasiotis
37ea7663bb
Maintain a logger and stop_event in util.Process
2024-09-30 09:39:32 +03:00
George Tsiamasiotis
e576f991c8
Amend database timeout calculation
2024-09-30 09:38:00 +03:00
George Tsiamasiotis
d3e2377d4e
Lazily calculate ffmpeg cmds
2024-09-30 09:37:05 +03:00
George Tsiamasiotis
80eef448e5
Formatting changes
2024-09-29 00:50:52 +03:00
George Tsiamasiotis
4d83179e77
Do not migrate db to new config path
...
I just saw this, and I would be very surprised by that behaviour as a
user. Changing the db path would randomly move the database, and
changing it back (or to anything, really) would not. These kinds of
advanced settings are generally expected to do one thing: Change the
path frigate opens the database from. The end.
2024-09-29 00:34:14 +03:00
George Tsiamasiotis
2f8d96475e
Removed os._exit call that bypasses finalization
2024-09-29 00:12:54 +03:00
George Tsiamasiotis
54a1b3bb15
Switch to forkserver
2024-09-29 00:10:13 +03:00
George Tsiamasiotis
e10b330b04
Remove Process types from metrics to allow pickling
2024-09-28 23:40:45 +03:00
George Tsiamasiotis
e1796e1edf
Updated dictionary
2024-09-28 22:24:10 +03:00
George Tsiamasiotis
c4c0474727
Try to factor out parts of individual camera management
2024-09-28 22:24:02 +03:00
gtsiam
bbbb3b4a06
Split config.py into multiple files ( #14038 )
...
* Replace logging.warn with logging.warning
* Install config global state early
* Split config.py into more manageable pieces
2024-09-28 14:21:42 -05:00
Nicolas Mowen
576191cd4e
Remove debug log ( #14037 )
2024-09-28 10:26:11 -05:00
Nicolas Mowen
38d398c967
Dynamic attributes config ( #14035 )
...
* Add config for attribute map and generate all labels from the map
* Update docs
* Formatting
* Use the dynamic label map
* Fix check
* Fix docs typo
2024-09-28 07:49:04 -06:00
Josh Hawkins
7da44115d3
Clarify storage metrics values with a popover ( #14034 )
2024-09-28 08:24:14 -05:00
Nokius
b54032bdc7
make the hailo user instalation script a bit more failsafe ( #13992 )
...
This will checks if the firmware folder is present if not it will created it informs the user to reboot to load the firmware for the hailo8l detector.
2024-09-28 05:55:17 -06:00
Nicolas Mowen
cab497e81e
Fix dynamic api ordering ( #14022 )
...
* Fix dynamic api ordering
* Formatting
2024-09-27 12:09:53 -06:00
Nicolas Mowen
50e9c67609
Update Templates ( #14019 )
...
* Update general support template
* Update camera support
* Update config-support.yml
* Update detector support
* Update general-support.yml
* Update hardware-acceleration-support.yml
* Create pull_request_template.md
2024-09-27 10:48:51 -05:00
Josh Hawkins
bd57ea0110
Revert all cameras switches behavior ( #14015 )
2024-09-27 08:13:15 -06:00
Nicolas Mowen
05fe7f8a48
Fixes & Tweaks ( #14013 )
...
* Rework to create util for onnx initialization
* Fix shm log
* Fix onClick exceptoins
2024-09-27 07:41:48 -06:00
gtsiam
c0bd3b362c
Custom classes for Process and Metrics ( #13950 )
...
* Subclass Process for audio_process
* Introduce custom mp.Process subclass
In preparation to switch the multiprocessing startup method away from
"fork", we cannot rely on os.fork cloning the log state at fork time.
Instead, we have to set up logging before we run the business logic of
each process.
* Make camera_metrics into a class
* Make ptz_metrics into a class
* Fixed PtzMotionEstimator.ptz_metrics type annotation
* Removed pointless variables
* Do not start audio processor when no audio cameras are configured
2024-09-27 07:53:23 -05:00
Josh Hawkins
1f328be1bd
UI fixes ( #14010 )
...
* Fix export time picker on iOS
* Fix dialog on iPad
2024-09-27 07:52:31 -05:00
Nicolas Mowen
ddfdb71783
Fix snapshot access ( #13996 )
2024-09-26 20:05:48 -05:00
Nicolas Mowen
da1478c0c1
Update object_detectors.md ( #13994 )
...
* Update object_detectors.md
* Use info
* Move CPU detector to bottom
* Moce CPU to bottom
* Add missing detector keys
2024-09-26 18:58:58 -05:00
Josh Hawkins
40fe3b4358
Search functionality and UI tweaks ( #13978 )
...
* Portal tooltips
* Add ability to time_range filter chroma searches
* centering and padding consistency
* add event id back to chroma metadata
* query sqlite first and pass those ids to chroma for embeddings search
* ensure we pass timezone to the api call
* remove object lifecycle from search details for non-object events
* simplify hour calculation
* fix query without filters
* bump chroma version
* chroma 0.5.7
* fix selecting camera group in cameras filter button
2024-09-26 15:30:56 -05:00
Nicolas Mowen
20fd1db0f4
Update hailo driver to 4.18 ( #13991 )
2024-09-26 12:16:08 -06:00
Nicolas Mowen
a65aaab849
Fixes ( #13990 )
...
* Fix ROCm input name
* Fix incorrect parsing of None
2024-09-26 12:42:21 -05:00
Nicolas Mowen
a5595189ed
Fix ROCm inference ( #13988 )
2024-09-26 12:16:26 -05:00
Nicolas Mowen
4a1da3ebc5
Fix saving config ( #13985 )
2024-09-26 11:19:37 -05:00
Nicolas Mowen
35a4460334
Tweaks ( #13983 )
...
* Add onConnect to mqtt and doucment
* Add play pause via mouse click
2024-09-26 09:12:15 -05:00
Nicolas Mowen
a6ccb37683
Fix config saving api ( #13969 )
2024-09-25 17:22:11 -05:00