I FOUND A SOLUTION!!!
Uninstall any apps that use camera e.g. instagram, snapchat etc. Then take out battery with phone still on and wait 10 seconds then put the battery back and switch phone back on. It worked for me. I have samsung note 3. Hope this helps :)