In order to take better pictures, a method of composition proportion in photography based on digital information technology is proposed. Feature extraction is carried out from the captured pictures, and the modular customized design of digital information technology is adopted. The research is carried out in the two fields of image blur and approximate repeated image de redundancy. An improved image blur algorithm based on bag of words (bag of words) kernel function is proposed. The experimental results show that the coarse matching time is the time spent in matching a query image with thousands of images in the database, and the fine matching time is the time spent in matching a query image with eight candidate images with orb. The total query time is about 0.7 seconds, while it takes about 500 seconds to match thousands of images only with orb algorithm. In general, we combine coarse matching and fine matching, which can balance the accuracy and speed well. It is proved that the digital information technology proposed in this paper has a good effect in the calculation and function of composition proportion in photography.