As with all Raspberry Pi boards, the new Raspberry Pi Zero W board has a slot for a camera connection. However, first of all, we need to buy a Raspberry Pi camera in case we do not have one. There are two types of camera that you can buy--a normal IR camera or a non-IR camera. The normal IR camera does not let you see well in dark spots. This means that as soon as the sun goes down, it will be hard to view any objects. On the other hand, non-IR cameras are great for this kind of project. Depending on the project, buy the appropriate camera. Here, you can find two links for both camera types.
The Raspberry Pi 5MP Camera Board Module can be found at the following link:
https://www.amazon.com/gp/product/B00E1GGE40/ref=as_li_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B00E1GGE40&linkCode=as2&tag=pimylifeup-20&linkId=JKO72D2M4YJG3YCK...
https://www.amazon.com/gp/product/B00E1GGE40/ref=as_li_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B00E1GGE40&linkCode=as2&tag=pimylifeup-20&linkId=JKO72D2M4YJG3YCK...