Is there a Julia package for using the Raspberry Pi camera?

Not really. This one looks pretty dead: GitHub - stemann/Cameras.jl: A Julia interface for cameras

And GitHub - JuliaIO/VideoIO.jl: Reading and writing of video files in Julia via ffmpeg . But I don’t think it allows to grab video input.

Google for “VFL (video for Linux)”, perhaps you find a way to grab frames. Or a C library. You can call C from Julia directly.

Perhaps access libcamera from Julia? But it might have only a C++ interface, then you would have write your own wrapper using CxxWrap .

As a first try you could also call an external application like

rpicam-still --encoding png --output test.png

and store the output in a RAM disk. Check how many FPS you get with this method.