Grabbing Pictures of Moving Items as they come down a conveyor.

Hello,

We are trying to take pictures or grab frames using an iOS Phone 15 Pro. The items are moving down a conveyor belt. All we need to do is grab a photo of the item and crop it and save it as a jpg. Any ideas on what the best way to accomplish this is?

Thanks!