I’m not exactly sure how they work but if you do a search on “Using your smartphone to find hidden cameras”, a ton of links will come up. Here is one...
https://www.easytechtrick.org/hidden-camera-detector-apps/
That link sounds like the original language was Chinese!