Chapter 10. Digital Pinhole Camera

At the heart of pretty much all current digital cameras is a piece of silicon with millions of distinct light sensors on it. The camera lens focuses light onto the silicon where each sensor detects the amount of light it receives, and the color of that light. The information from those millions of sensors is then read into a small computer in the camera, which creates an image.

While this is probably the best way of making a digital camera, it isn’t the only way. If you are trying to take a picture of a scene that isn’t moving, you can use a single light sensor that you move to each location in the image.

That’s the kind of camera that we’re going to make here. We’ll skip the lens and will instead use a small ...

Get Making Things Smart now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.