The device registry example given for accessing camera pixels is incorrect, and will result in an off-by-one error if followed example by the students, as it uses the size of the camera pixel array to access to the last element of the array. This is incorrect, and will cause the off-by-one error.
The device registry example given for accessing camera pixels is incorrect, and will result in an off-by-one error if followed example by the students, as it uses the size of the camera pixel array to access to the last element of the array. This is incorrect, and will cause the off-by-one error.