Motion tracking camera that works without cloud

Hello, I am new to this and am wanting POE motion tracking / following PTZ surveillance cameras. I am not afraid to do a little work to get this to happen if need be, but trying to save time and just buy something that will work. I want them to be able to follow moving humans on their own. I do not want to use any cloud services or let any manufacturer have access to my local network. Does anyone make anything like this? What should I look for when looking online to purchase?

The motion tracking would be easy with the ubiquiti cameras. They’re also local and you have no one accessing your local network.
I’m doing that with both their unifi protect software or of the box as well as with a frigate instance.
But I think the only PTZ camera they offer costs a fortune, is very huge and probably complete overkill.

I also have some cheap eufy PTZ cameras. They do use cloud services, but I think (never tried that, though) that you should be able to just block their cloud communication. They do the tracking locally and can also follow movement. And they offer a rtsp stream you can read on any device. So if it is possible to block their cloud communication in the router, you have everything you want for about 45€ per camera (compared to 2000€ with the unifi model - althoughthat has, of course, a much better camera).

I’m sure there are other solutions, too.