In the past decade, optical sensing tasks have become more demanding. As a result, it has become critical to build miniaturized, inexpensive sensors that can be integrated on-chip to enable mobile applications in smart phones, autonomous vehicles, robots, and drones.