An in-vehicle apparatus, comprising: a camera with a shielded area formed within a photographing area thereof by a light shielding member, which outputs a photographic image of an area surrounding a vehicle photographed through a photographic lens, the photographic image including an image of the shielded area; and an adhering matter detection unit that detects adhering matter settled on the photographic lens based upon images of the shielded area included in a plurality of photographic images output from the camera at different time points, wherein: at the camera, the light shielding member is disposed so that the camera is able to photograph a road surface outside the vehicle while light advancing from an origin other than the road surface toward the photographic lens is blocked; characterized in that the adhering matter detection unit generates a difference image based upon the images of the shielded area included in the plurality of photographic images output from the camera at the different time points, detects an aggregate of pixels expressing a single color contained in the difference image, and detects the aggregate of pixels as the adhering matter based on an aspect ratio, a fill ratio, an area and a recession rate of the aggregate of pixels. a camera with a shielded area formed within a photographing area thereof by a light shielding member, which outputs a photographic image of an area surrounding a vehicle photographed through a photographic lens, the photographic image including an image of the shielded area; and an adhering matter detection unit that detects adhering matter settled on the photographic lens based upon images of the shielded area included in a plurality of photographic images output from the camera at different time points, wherein: at the camera, the light shielding member is disposed so that the camera is able to photograph a road surface outside the vehicle while light advancing from an origin other than the road surface toward the photographic lens is blocked; characterized in that the adhering matter detection unit generates a difference image based upon the images of the shielded area included in the plurality of photographic images output from the camera at the different time points, detects an aggregate of pixels expressing a single color contained in the difference image, and detects the aggregate of pixels as the adhering matter based on an aspect ratio, a fill ratio, an area and a recession rate of the aggregate of pixels. at the camera, the light shielding member is disposed so that the camera is able to photograph a road surface outside the vehicle while light advancing from an origin other than the road surface toward the photographic lens is blocked; characterized in that the adhering matter detection unit generates a difference image based upon the images of the shielded area included in the plurality of photographic images output from the camera at the different time points, detects an aggregate of pixels expressing a single color contained in the difference image, and detects the aggregate of pixels as the adhering matter based on an aspect ratio, a fill ratio, an area and a recession rate of the aggregate of pixels.