A code reader is disclosed for reading a code provided as an imprinted pattern on an object. The light interacts with the pattern, for example, by being reflected from the pattern or transmitted through the pattern, and a portion of the light interacting with the pattern is incident on the photosensitive element (s) of the one or more photodetectors of the code reader. The code reader utilizes a photodetector that detects light in a manner that can be obtained directly from the photodetector (s), i.e., the photocurrent produced as a result of the photosensitive element detecting the light incident thereon with the center of the pattern. The code reader is then configured to process the detected light to determine the center of the pattern from the detected light and to decode the data encoded in the pattern based on the position at the center. Such code readers are less complex than camera-based devices and avoid machine scanning.물체에 각인된 패턴으로서 제공된 코드를 판독하기 위한 코드 판독기가 개시된다. 광은 예를 들어, 패턴으로부터 반사되거나 패턴을 통해 투과됨으로서 패턴과 상호 작용하고, 패턴과 상호 작용하는 광의 일부는 코드 판독기의 하나 이상의 광 검출기의 감광성 요소(들)에 입사된다. 코드 판독기는 광 검출기(들), 즉 패턴의 중심이 그 위에 입사한 광을 검출하는 감광성 요소의 결과로서 생성된 광전류로부터 직접 얻어질 수 있는 방식으로 광을 검출하는 광 검출기를 이용한다. 그 후, 코드 판독기는 검출된 광을 처리하여 검출된 광으로부터 패턴의 중심을 결정하고, 중심에서의 위치에 기초하여 패턴에 인코딩된 데이터를 디코딩하도록 구성된다. 그러한 코드 판독기는 카메라 기반 디바이스보다 덜 복잡하며 기계 스캐닝을 피한다.