A non-transitory computer-readable storage medium having, stored therein, a traffic information creating program used in a traffic information creating device, the program causing a computer to function as:
- a count acquisition unit configured to acquire, from a target vehicle, a count value based on at least one of
- the number of times a determination unit, which is configured to determine whether or not the target vehicle deviates from a traveling lane that is a lane on which the target vehicle is traveling, has determined, based on a captured image showing a road around the target vehicle, that the target vehicle has crossed or may possibly cross a right-side boundary of the traveling lane, and has determined that the target vehicle does not deviate from the traveling lane because a drive operation performed on the target vehicle by a driver satisfies a predetermined condition, and
- the number of times the determination unit has determined, based on the captured image showing the road around the target vehicle, that the target vehicle has crossed or may possibly cross a left-side boundary of the traveling lane, and has determined that the target vehicle does not deviate from the traveling lane because the drive operation satisfies the predetermined condition;
- a lane acquisition unit configured to acquire lane information indicating a lane on which the target vehicle travels;
- and
- a creation unit configured to create traffic information including information about a lane on which the target vehicle has traveled, based on the count value acquired by the count acquisition unit and the lane information acquired by the lane acquisition unit.