Project with smart phone like camera
Depending on what supporting hardware you are using, laptop cameras might be interesting. They are small, can be bought for a few dollars only and often connect over USB. If you use a microcontroller that can run Linux, you can probably connect to the camera. See more info in this video: https://youtu.be/CouxmNqxO4A