Redstone circuit that detects the position of an object in a simple item frame, easy to replicate without much complex redstone.

Note: the circuit was only tested in Minecraft Bedrock, assuming the simplicity of the circuit it may work for the Java version or may require a slight adjustment with blocks above the circuit