Skip to content
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

POC: Frigate HTTP API FastAPI #13324

Closed
wants to merge 30 commits into from
Closed

Commits on Aug 23, 2024

  1. Semantic Search for Detections (blakeblackshear#11899)

    * Initial re-implementation of semantic search
    
    * put docker-compose back and make reindex match docs
    
    * remove debug code and fix import
    
    * fix docs
    
    * manually build pysqlite3 as binaries are only available for x86-64
    
    * update comment in build_pysqlite3.sh
    
    * only embed objects
    
    * better error handling when genai fails
    
    * ask ollama to pull requested model at startup
    
    * update ollama docs
    
    * address some PR review comments
    
    * fix lint
    
    * use IPC to write description, update docs for reindex
    
    * remove gemini-pro-vision from docs as it will be unavailable soon
    
    * fix OpenAI doc available models
    
    * fix api error in gemini and metadata for embeddings
    hunterjm authored and NickM-27 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    a3d7141 View commit details
    Browse the repository at this point in the history
  2. Semantic Search API (blakeblackshear#12105)

    * initial event search api implementation
    
    * fix lint
    
    * fix tests
    
    * move chromadb imports and pysqlite hotswap to fix tests
    
    * remove unused import
    
    * switch default limit to 50
    
    * fix events accidently pulling inside chroma results loop
    hunterjm authored and NickM-27 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    7681d14 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9771ad8 View commit details
    Browse the repository at this point in the history
  4. Semantic Search Frontend (blakeblackshear#12112)

    * Add basic search page
    
    * Abstract filters to separate components
    
    * Make searching functional
    
    * Add loading and no results indicators
    
    * Implement searching
    
    * Combine account and settings menus on mobile
    
    * Support using thumbnail for in progress detections
    
    * Fetch previews
    
    * Move recordings view and open recordings when search is selected
    
    * Implement detail pane
    
    * Implement saving of description
    
    * Implement similarity search
    
    * Fix clicking
    
    * Add date range picker
    
    * Fix
    
    * Fix iOS zoom bug
    
    * Mobile fixes
    
    * Use text area
    
    * Fix spacing for drawer
    
    * Fix fetching previews incorrectly
    NickM-27 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    3c2e1a4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    35bde76 View commit details
    Browse the repository at this point in the history
  6. Chroma logs in Frontend (blakeblackshear#12131)

    * Chroma logs in frontend
    
    * fix lint
    hunterjm authored and NickM-27 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    3856d51 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    45134f9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3463f40 View commit details
    Browse the repository at this point in the history
  9. Initial support for Hailo-8L (blakeblackshear#12431)

    * Initial support for Hailo-8L
    
    Added file for Hailo-8L detector including dockerfile, h8l.mk, h8l.hcl, hailo8l.py, ci.yml and ssd_mobilenat_v1.hef as the inference network.
    
    Added files to help with the installation of Hailo-8L dependences like generate_wheel_conf.py, requirements-wheel-h8l.txt and modified setup.py to try and work with any hardware.
    
    Updated docs to reflect Initial Hailo-8L support including oject_detectors.md,  hardware.md and installation.md.
    
    * Update .github/workflows/ci.yml
    
    typo h8l not arm64
    
    Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
    
    * Update docs/docs/configuration/object_detectors.md
    
    Clarity for the end user and correct uses of words
    
    Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
    
    * Update docs/docs/frigate/installation.md
    
    typo
    
    Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
    
    * update Installation.md to clarify Hailo-8L installation process.
    
    * Update docs/docs/frigate/hardware.md
    
    Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
    
    * Update hardware.md add Inference time.
    
    * Oops no new line at the end of the file.
    
    * Update docs/docs/frigate/hardware.md typo
    
    Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
    
    * Update dockerfile to download the ssd_modilenet_v1 model instead of having it in the repo.
    
    * Updated dockerfile so it dose not download the model file.
    
    add function to download it at runtime.
    
    update model path.
    
    * fix formatting according to ruff and removed unnecessary functions.
    
    ---------
    
    Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
    Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
    3 people committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    899fb99 View commit details
    Browse the repository at this point in the history
  10. Fix calendar

    NickM-27 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    0725f5d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    948a052 View commit details
    Browse the repository at this point in the history
  12. Implement support for notifications (blakeblackshear#12523)

    * Setup basic notification page
    
    * Add basic notification implementation
    
    * Register for push notifications
    
    * Implement dispatching
    
    * Add fields
    
    * Handle image and link
    
    * Add notification config
    
    * Add field for users notification tokens
    
    * Implement saving of notification tokens
    
    * Implement VAPID key generation
    
    * Implement public key encoding
    
    * Implement webpush from server
    
    * Implement push notification handling
    
    * Make notifications config only
    
    * Add maskable icon
    
    * Use zod form to control notification settings in the UI
    
    * Use js
    
    * Always open notification
    
    * Support multiple endpoints
    
    * Handle cleaning up expired notification registrations
    
    * Correctly unsubscribe notifications
    
    * Change ttl dynamically
    
    * Add note about notification latency and features
    
    * Cleanup docs
    
    * Fix firefox pushes
    
    * Add links to docs and improve formatting
    
    * Improve wording
    
    * Fix docstring
    
    Co-authored-by: Blake Blackshear <blake@frigate.video>
    
    * Handle case where native auth is not enabled
    
    * Show errors in UI
    
    ---------
    
    Co-authored-by: Blake Blackshear <blake@frigate.video>
    NickM-27 and blakeblackshear committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    0cf728f View commit details
    Browse the repository at this point in the history
  13. Disable semantic search by default (blakeblackshear#12568)

    * Disable semantic search by default and don't start processes unless enabled
    
    * Conditionally create embeddings
    
    * Fix typing
    NickM-27 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    78ef76a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    cab0498 View commit details
    Browse the repository at this point in the history
  15. Update version

    NickM-27 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    aabb86e View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a22b2b3 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    7e61dab View commit details
    Browse the repository at this point in the history
  18. Hailo amd64 support (blakeblackshear#12820)

    * Support building docker image for amd64 and arm64
    
    * Support installations on amd64 and arm64
    
    * Run build in new job
    
    * Update docs
    NickM-27 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    2ef816e View commit details
    Browse the repository at this point in the history
  19. Use review item thumbnail for export (blakeblackshear#12998)

    * Use review item thumbnail for export
    
    * Formatting
    NickM-27 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    7f2b540 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    f49f05a View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    2b9f027 View commit details
    Browse the repository at this point in the history
  22. Add ability to upload to Frigate+ from review side panel (blakeblacks…

    …hear#13071)
    
    * Add ability to submit to frigate+ from review panel
    
    * Add separator
    
    * Use consistent ID
    NickM-27 committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    d321d10 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    837124c View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    6229af4 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    aa39f5b View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    bf11ae3 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2024

  1. FastAPI example POC

    iursevla committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    d99bfa1 View commit details
    Browse the repository at this point in the history
  2. FastAPI example POC

    iursevla committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    4368785 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    309492c View commit details
    Browse the repository at this point in the history
  4. Revert added space

    iursevla committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    e30c2e7 View commit details
    Browse the repository at this point in the history