The best way to detect hidden camera and microphone usage on your phone is by ClevGuard app.
The app not only notifies you when any app uses your phone camera and mic secretly but also helps you to find out any hidden app installed on your phone.