The application of video and image segmentation is carried out from the aspects of improving the accuracy of segmentation and reducing the calculation time, but the segmentation result is affected by the initial curve position, so this paper proposes a new method. As an important part of the Internet, pictures are usually used to help visitors understand. The image contains a lot of deep-level video information, which is an important basis for video content retrieval and data analysis. In this paper, combining the texture and edge features of the image in the process of text location, a multi-scale Gabor filter bank is proposed to transform the original image, and a priori knowledge of the text region is used to process the non-text object in the transform result. In the part of extracting text from pictures, and improved TF-IDF algorithm, BC-TF-IDF algorithm, is proposed to extract text from pictures. To ensure the integrity of the extracted image, the Sobel algorithm is used to process the image in the edge extraction step. Finally, the above method is applied to the Weibo network, and a system of collecting and recognizing the character content of the Weibo image is set up, which completes the function of collecting and gradually recognizing the Weibo image, and verifies the proposed localization method.