Benachrichtigungen
Alles löschen

Pi camera?  

Seite 3 / 3
  RSS
S7EN
 S7EN
(@s7en)
Mitglied
RE: Pi camera?

I`m looking for a solution to focus the v3 camera too.

Are there maybe some shell commands or some phyton scripts which we can edit in the meantime to solve this?

Veröffentlicht : 15/07/2023 1:17 pm
lenanai gefällt das
k8y3d
(@k8y3d)
Mitglied
RE: Pi camera?

Are there updates to this? I see there's a slider in the camera configuration and I can change the focus distance with it, but it seems that the camera is resetting back to the AF after short time (raspberry pi camera v3).

Veröffentlicht : 18/12/2023 8:44 am
_KaszpiR_
(@_kaszpir_)
Honorable Member
RE:

AFAIR this drills down to the way how camera is initialized and used.
Probably it is set to 'auto', while it should be available to set it to 'fixed', not sure if this is exposed by the current Prusa Connect/Prusa Link etc software, but it is surely possible to do with rpi control software https://www.raspberrypi.com/documentation/computers/camera_software.html#still-command-line-options

See my GitHub and printables.com for some 3d stuff that you may like.

Veröffentlicht : 18/12/2023 9:40 pm
k8y3d
(@k8y3d)
Mitglied
RE: Pi camera?

Yeah, with raspicam-still it's definitely possible with an argument, so both hardware and the API support this. However, I wasn't able to find how to use that in PrusaLink/Connect so that camera has a fixed focus distance.

Veröffentlicht : 19/12/2023 10:17 am
Tojik
(@tojik)
Mitglied Moderator
RE: Pi camera?

Hi, never seen that mentioned before. Guess I'll test and tlattempt to fix that. In the meantime send a log if you can, or want to, not yet sure if i'll need it

Veröffentlicht : 19/12/2023 4:35 pm
IBGeek
(@ibgeek)
Eminent Member
RE: Pi camera?

Found a super easy way to set up a live web stream using a Raspberry Pi 4, a Pi Camera v2 and this: https://www.tomshardware.com/raspberry-pi/how-to-control-your-raspberry-pi-camera-using-a-web-ui

Takes a couple of minutes to set up for nonexperienced pi users.  All you need is curl.   

I have very limited Linux skills so if anyone wants to see if this can be ported directly in to connect, I would be thrilled.  

Veröffentlicht : 15/04/2024 1:01 am
Oregun gefällt das
Tojik
(@tojik)
Mitglied Moderator
RE: Pi camera?

okay, will check that the focus mode is being set to fixed. Seems like it isn't being set and my testing wasn't extensive enough

Veröffentlicht : 15/04/2024 11:55 am
Seite 3 / 3
Teilen: