Skip to content

Normalize motion data in chunks #10497

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

Merged
merged 1 commit into from
Mar 17, 2024
Merged

Normalize motion data in chunks #10497

merged 1 commit into from
Mar 17, 2024

Conversation

NickM-27
Copy link
Collaborator

Large motion in one moment in time still had the chance to affect the entire scale for motion on the timeline. This PR normalizes the motion data in hourly chunks to ensure consistent and more representative data

Copy link

netlify bot commented Mar 16, 2024

Deploy Preview for frigate-docs ready!

Name Link
🔨 Latest commit bc81490
🔍 Latest deploy log https://app.netlify.com/sites/frigate-docs/deploys/65f5f3500107060008176a19
😎 Deploy Preview https://deploy-preview-10497--frigate-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@hawkeye217 hawkeye217 merged commit 4e7808a into dev Mar 17, 2024
@hawkeye217 hawkeye217 deleted the motion-chunks branch March 17, 2024 12:30
@xconverge
Copy link
Contributor

xconverge commented Apr 29, 2024

@NickM-27 heads up that I saw the following log message, if you want me to open an issue I can

2024-04-28 14:10:51.595747885  /opt/frigate/frigate/api/review.py:464: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise an error in a future version of pandas. Value '[  0.          10.71428571 100.          51.78571429]' has dtype incompatible with int64, please explicitly cast to a compatible dtype first.
2024-04-28 14:10:51.595757132    df.iloc[i : i + chunk, 0] = (
2024-04-28 14:11:12.117551576  /opt/frigate/frigate/api/review.py:464: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise an error in a future version of pandas. Value '[  0.          10.71428571 100.          51.78571429]' has dtype incompatible with int64, please explicitly cast to a compatible dtype first.
2024-04-28 14:11:12.117556276    df.iloc[i : i + chunk, 0] = (

@NickM-27
Copy link
Collaborator Author

Thanks, I think that should be easy to fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants