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

Bigger resolution - picam720 plugin - speed_camera Out - 0/6 messages #166

Open
SamDecrock opened this issue Mar 22, 2024 · 1 comment
Open

Comments

@SamDecrock
Copy link

SamDecrock commented Mar 22, 2024

Hi,

I'm trying out the picam720 plugin for a bigger resolution (Pi4, Bullseye 32bit, Pi Global Shutter Camera, 60fps), however, no cars get detected, I'm seeing this:

----------------------------------------------------------------------
2024-03-22 21:40:17 INFO     speed_camera New  - 0/6 xy(752,383) Start New Track
2024-03-22 21:40:17 INFO     speed_camera  Out - 0/6 xy(221,221) Max D=531>=30px C=30 580x239=138620 sqpx R2L
2024-03-22 21:40:17 INFO     speed_camera  Out - 0/6 xy(431,230) Max D=210>=30px C=31 564x229=129156 sqpx R2L
2024-03-22 21:40:17 INFO     speed_camera  Out - 0/6 xy(571,233) Max D=140>=30px C=31 550x222=122100 sqpx R2L
2024-03-22 21:40:17 INFO     speed_camera  Out - 0/6 xy(329,576) Max D=242>=30px C=27 119x22=2618 sqpx R2L
2024-03-22 21:40:17 INFO     speed_camera  Out - 0/6 xy(194,221) Max D=135>=30px C=45 464x324=150336 sqpx R2L
2024-03-22 21:40:17 INFO     speed_camera  Out - 0/6 xy(370,224) Max D=176>=30px C=32 452x331=149612 sqpx R2L
2024-03-22 21:40:18 INFO     speed_camera  Out - 0/6 xy(547,236) Max D=177>=30px C=25 448x326=146048 sqpx R2L
2024-03-22 21:40:18 INFO     speed_camera  Out - 0/6 xy(714,460) Max D=167>=30px C=27 192x102=19584 sqpx R2L
2024-03-22 21:40:18 INFO     speed_camera  Out - 0/6 xy(892,464) Max D=178>=30px C=35 186x91=16926 sqpx L2R
2024-03-22 21:40:18 INFO     speed_camera  Out - 0/6 xy(1058,467) Max D=166>=30px C=35 63x77=4851 sqpx L2R
2024-03-22 21:40:18 INFO     speed_camera Reset- event_timer 0.42>0.30 sec Exceeded
----------------------------------------------------------------------

What does it mean and what do I need to tweak?

Thanks!

@SamDecrock
Copy link
Author

If I understand it correctly, the location of the detected box moved further away than 30 px, thus registering the event as Out, correct?

Zooming out solved it. I guess increasing the MO_MAX_X_DIFF_PX would also have helped?

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

No branches or pull requests

1 participant