Depends where you are operating the device, but where I live (California, USA) this is clearly illegal to use in any non-public setting unless you are proactively getting the consent of everyone that might be recorded, which is a practical impossibility.