An automatic water faucet comprising: a water faucet (160, 161); a light-emitting unit provided in a water discharge port of the water faucet (160, 161) and arranged to radiate light toward a measure-distance target; an imaging unit provided in the water discharge port of the water faucet (160, 161) and arranged to capture light reflected from the measure-distance target, and arranged offset to the light-emitting unit by a predetermined offset amount in a horizontal direction; a distance measurement unit for measuring a distance from the imaging unit to the measure-distance target, based on image data captured by the imaging unit; a threshold setting unit for setting a distance threshold; a detection unit for detecting the measure-distance target as a detection object if the distance being measured by the distance measurement unit is shorter than the distance threshold set by the threshold setting unit; and a water supply control unit for causing the water faucet (160, 161) to discharge water in response to the detection unit detecting a detection object, and for causing the water faucet (160, 161) to stop discharging water in response to the detection unit not detecting a detection object; and wherein the threshold setting unit is arranged to increase the distance threshold setting in response to the detection unit detecting a detection object, by setting a first threshold during intervals when the detection unit is not detecting a detection object; setting a second threshold greater than the first threshold during intervals when the detection unit is detecting a detection object; characterized in that the threshold setting unit is further arranged to: set a third threshold greater than the first threshold and equal to or less than the second threshold during an interval until a predetermined period of time elapses, when the detection unit no longer detects a detection object having been under detection; and set the first threshold after the predetermined period of time has elapsed. a water faucet (160, 161); a light-emitting unit provided in a water discharge port of the water faucet (160, 161) and arranged to radiate light toward a measure-distance target; an imaging unit provided in the water discharge port of the water faucet (160, 161) and arranged to capture light reflected from the measure-distance target, and arranged offset to the light-emitting unit by a predetermined offset amount in a horizontal direction; a distance measurement unit for measuring a distance from the imaging unit to the measure-distance target, based on image data captured by the imaging unit; a threshold setting unit for setting a distance threshold; a detection unit for detecting the measure-distance target as a detection object if the distance being measured by the distance measurement unit is shorter than the distance threshold set by the threshold setting unit; and a water supply control unit for causing the water faucet (160, 161) to discharge water in response to the detection unit detecting a detection object, and for causing the water faucet (160, 161) to stop discharging water in response to the detection unit not detecting a detection object; and wherein the threshold setting unit is arranged to increase the distance threshold setting in response to the detection unit detecting a detection object, by setting a first threshold during intervals when the detection unit is not detecting a detection object; setting a second threshold greater than the first threshold during intervals when the detection unit is detecting a detection object; characterized in that the threshold setting unit is further arranged to: set a third threshold greater than the first threshold and equal to or less than the second threshold during an interval until a predetermined period of time elapses, when the detection unit no longer detects a detection object having been under detection; and set the first threshold after the predetermined period of time has elapsed. setting a first threshold during intervals when the detection unit is not detecting a detection object; setting a second threshold greater than the first threshold during intervals when the detection unit is detecting a detection object; characterized in that the threshold setting unit is further arranged to: set a third threshold greater than the first threshold and equal to or less than the second threshold during an interval until a predetermined period of time elapses, when the detection unit no longer detects a detection object having been under detection; and set the first threshold after the predetermined period of time has elapsed. set a third threshold greater than the first threshold and equal to or less than the second threshold during an interval until a predetermined period of time elapses, when the detection unit no longer detects a detection object having been under detection; and set the first threshold after the predetermined period of time has elapsed.