Hi Tim,
Thanks so much, it was due to not running the older version and it all works now.
I have two more questions about the code:
How can i set the camera to just stay on one person? i.e if there were multiple people in view of the camera.
Can i set the neopixel totally off and then all the pixels come on in a certain colour? when a person is detected.
Sorry for all the questions but im getting more involved with this project each day