That's the equivalent of a person taking their picture. And yes, they would do the same thing to you.
Is it unlawful to take the picture of a police officer yet?
Suppose you have external cameras set up to monitor all of your doors, sides of the house, and yard. It’s not uncommon today. It’s inexpensive and a very good security tool. If a cop comes onto your property, do you have to inform him/they that they are being recorded?