The invention discloses a method of generating a 3D house type model by a 2D house type model based on camera shooting. The method comprises steps: 1, a 2D house type picture is acquired through camera shooting; 2, an essential matrix reduction method is used for correcting the 2D house type picture acquired in the first step; 3, image enhancement processing is carried out on the2D house type picture after processing of the second step; 4, a contour line of the 2D image after processing of the third step is extracted; 5, a door and window model base is built, matching is carried out according to the contour line extracted in the fourth step, and door and window positions are recognized; 6, a wall structure is stretched to a fixed height position, and generation of a 3D house type model is completed. The method has the following advantages that automatic generation of the 3D house type model from the 2D house type model is realized, the generation method is simple, applicability is universal, the generation method can be embedded in a portable mobile device to form APP application software to be combined with a camera of the portable mobile device, and practicability is provided.