New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Viseron v2 #306
Merged
Merged
Viseron v2 #306
Conversation
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
Does it work better if you remove the |
i had pull latest. it is working now. can you share latest working jetson image. |
Merging this, will do the last finishing touches in separate PRs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a huge rewrite of Viseron.
It focuses on decoupling all parts of Viseron, making it more modularized. This allows for easier integration of new functionality.
The config.yaml file will change completely so there is some work that has to be done by each user to port over to the new version.
The general config format is a
component
which implements one or moredomains
.Each camera has a unique
camera identifier
which flows through the entire configuration.The
nvr
component then ties all these different domains together and provides the full functionality.The big benefit of this new format is that you can mix and match components more freely.
For instance, you could use different object detectors for different cameras, you are not tied into just one.
Config Example
Here is a generic config snippet with publicly available cameras that can be used to try it out
End goal is to port all existing functionality and also resolve some of the open issues.
This PR and its description will be updated going forward.
To-do list:
Issues to resolve
Bonus features not possible with previous versions of Viseron
Partial changelog (README has not been updated to reflect this)
Breaking changes
ALL kinds of inheritance in the config has been removed.
This means that you have to explicitly have to configure your object detector and motion detector settings for each
nvr
.interval
has been removed fromobject_detection
andmotion_detection
A new config option
fps
will be used instead. Please update your configuration.This change was made since it was quite confusing, both in the code and for the users because
interval
was specified in seconds.logging
has been removed in all shapes and forms and has been replaced withlogger
Please see the updated documentation
cameras
config section has been removed. Camera config is now specified under a component.Each object detector has been split up into individual components.
See the documentation for each detector.
Each motion detector has been split up into individual components.
See the documentation for each detector.
recorder
can no longer be configured on a global level.It now has to be present under each camera configuration.
timeout
under recorder is now calledidle_timeout
static_mjpeg_streams
are now calledmjpeg_streams
enable
underobject_detection
is no more. To disable object detection you simply dont configure it for a cameraSame goes for
motion_detector
timeout
formotion_detector
is now calledrecorder_keepalive
max_timeout
formotion_detector
is now calledmax_recorder_keepalive
Recordings are now stored in the folder structure
/recordings/<camera name>/<date>/<timestamp>.mp4
filter_args
removed for camera and recorder.For
camera
, usevideo_filters
instead.For
recorder
, you can use bothvideo_filters
andaudio_filters
Short config example to rotate video 180 degrees:
New features
webserver
. See the README for available config optionsgstreamer
(!)The implementation is quite basic as of now, but this will pave way for a better Jetson Nano integration.
post_processor
,image_classification
. Right now theedgetpu
component has support for it.Changes
Fixes