A seed counting device for counting seeds passing through a longitudinal portion of a seed tube having a front, back and two side walls (103A, 103B), the counting device comprising: a sensor assembly adapted to be mounted on a front and back wall of the seed tube, said sensor assembly including an LED (light emitting diode) array disposed opposite a photodetector device adapted to receive light from the LED array, said photodetector device configured to generate signal pulses in response to interruptions in light received from the LED array, said LED array comprised of a plurality of LEDs (110A-110J) that are disposed in a line that is substantially perpendicular to the longitudinal portion of the seed tube; and a microcontroller configured to control a current driving each of said plurality of LEDs (110A-110J) and to generate a current profile for the LED array, said microcontroller further configured to increase the drive current of at least two LEDs (110A, 110J) located adjacent to each tube side wall (103A, 103B) as a function of the current profile so as to increase the intensity of the at least two sidewall LEDs as compared to at least one LED in a center of the LED array, thereby improving spatial position detection of seed counting device of a seed passing through the seed tube and allow for adjustments to improve seed deposition accuracy, characterized in that the drive current of the LEDs (110A, 110J) at opposite ends is increased due to the current profile of the LED array to a factor of 1.50 times that of a nominal value, wherein the drive current of adjacent two opposite LEDs (110B, 110I), in from the first two LEDs (110A, 110J), is increased by a factor of 1.25 of the nominal value. a sensor assembly adapted to be mounted on a front and back wall of the seed tube, said sensor assembly including an LED (light emitting diode) array disposed opposite a photodetector device adapted to receive light from the LED array, said photodetector device configured to generate signal pulses in response to interruptions in light received from the LED array, said LED array comprised of a plurality of LEDs (110A-110J) that are disposed in a line that is substantially perpendicular to the longitudinal portion of the seed tube; and a microcontroller configured to control a current driving each of said plurality of LEDs (110A-110J) and to generate a current profile for the LED array, said microcontroller further configured to increase the drive current of at least two LEDs (110A, 110J) located adjacent to each tube side wall (103A, 103B) as a function of the current profile so as to increase the intensity of the at least two sidewall LEDs as compared to at least one LED in a center of the LED array, thereby improving spatial position detection of seed counting device of a seed passing through the seed tube and allow for adjustments to improve seed deposition accuracy, characterized in that the drive current of the LEDs (110A, 110J) at opposite ends is increased due to the current profile of the LED array to a factor of 1.50 times that of a nominal value, wherein the drive current of adjacent two opposite LEDs (110B, 110I), in from the first two LEDs (110A, 110J), is increased by a factor of 1.25 of the nominal value.