Method and device for recognizing video format, equipment and storage medium
A technology of video format and recognition method, which is applied in character and pattern recognition, instruments, computer parts, etc., can solve the problems of poor flexibility, low accuracy, and single recognition format, so as to save labor costs and improve accuracy Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] figure 1 It is a flow chart diagram of a method for identifying a video format provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the playback format of the current video is determined, and the video is played and managed according to the determined format. This method can be performed by the video format recognition means, which can be implemented in the form of software and / or hardware.
[0036] Such as figure 1 Described, the method of the embodiment of the present invention comprises:
[0037] S110. Obtain a target image in the video to be played.
[0038] It should be noted that when playing a video, a corresponding playback device and a display device are required, that is to say, a playback system and a 3D display device are required. Wherein, the video playing system can be a computer or a dedicated video decoding and playing device, and it can be understood that the video playing system only needs to be ab...
Embodiment 2
[0053] On the basis of the above embodiments, at least one image recognition algorithm is sequentially used to process the target image according to a preset execution sequence, and the Sobel edge detection algorithm may be preferentially used to process the target image. image 3 It is a schematic flowchart of processing a target image by using the Sobel edge detection algorithm provided by Embodiment 2 of the present invention.
[0054] Such as image 3 Described, the method of the embodiment of the present invention comprises:
[0055] S310. Acquire a target image of a video to be played.
[0056] Wherein, the target image may be the first frame image of the video to be played. If the first frame image is a completely black image, then it is determined that the first frame image is an invalid image, and the next frame image of the first frame image is obtained, and the next frame image as the target image.
[0057] S320. Process the target image by using a Sobel edge det...
Embodiment 3
[0077] When the target image of the video to be played is obtained, the background color of the target image may be relatively close or it is difficult to judge whether there is a dividing line in the target image through the Sobel edge detection algorithm due to the image itself, the segmented image can be restored, of course It is also possible to obtain the target image directly without restoration, and use the histogram statistical algorithm to process the restored image. For the specific processing method, please refer to Figure 4 . Figure 4 It is a schematic flow chart of processing a target image using a histogram statistical algorithm provided by Embodiment 3 of the present invention.
[0078] Such as Figure 4 Described, the method of the embodiment of the present invention comprises:
[0079] S410. Using the Sobel edge detection algorithm to calculate the gray value of the pixels on both sides adjacent to the dividing line without any jump.
[0080] On the basis o...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com