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

Camera Setup #10

Open
clonejo opened this issue Nov 11, 2023 · 3 comments
Open

Camera Setup #10

clonejo opened this issue Nov 11, 2023 · 3 comments

Comments

@clonejo
Copy link
Contributor

clonejo commented Nov 11, 2023

After some prototype runs with a digital camera, now i want to pick a camera/lens for the permanent setup …

At 60m distance and catenary wires usually at 5.5m height, i have calculated i'll need a ~6° field of view. I am hoping i can still get some OK-ish recordings at night, the track is actually lit by Sodium vapor lights.

Currently looking at the Raspberry Pi HQ camera + Waveshare 18256 zoom lens. That would be around 100€ (plus the Raspberry Pi).

And when i have the final camera setup i'll have to tweak the detection a bit, some trains are getting sliced up and some not detected at all.

@clonejo clonejo mentioned this issue Nov 11, 2023
@jo-m
Copy link
Owner

jo-m commented Nov 11, 2023

I use the standard Raspi Cam module v3, but my distance is only 45m.

@clonejo
Copy link
Contributor Author

clonejo commented Nov 28, 2023

One problem with webcam-style USB cameras can be, that they do not output a fixed framerate, but may send fewer frames when the picture is not illuminated enough. If only a small crop rectangle is used, the motion detector gets upset that the train may move past its viewport within a single frame: "image is not wide enough to resolve the given max speed" (this also depends on max train speed and meters/px ofc).

The Raspberry Pi HQ camera module doesn't have this issue.

@clonejo
Copy link
Contributor Author

clonejo commented Dec 3, 2023

train_20231203_222109 058_+01:00_cropped

I might be escalating just slightly, this is an f1.1 Kanlam lens on the Raspberry Pi HQ camera, at 128 gain.

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

2 participants