Scene detection method and device, terminal equipment and computer readable storage medium
A scene detection and scene technology, applied in the field of image processing, can solve the problem of low scene detection accuracy, achieve the effect of high accuracy and avoid misjudgment
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0078] The scene detection method provided in the embodiment of the present application can be specifically applied to an intelligent mobile terminal device, and the terminal device has a camera function. For example, mobile phones, tablets, etc.
[0079] See figure 1 , which is a schematic flow diagram of a scene detection method provided in an embodiment of the present application, and the scene detection method may include the following steps:
[0080] Step S101, acquiring an image to be detected.
[0081] Step S102, dividing the image to be detected into a preset number of regions.
[0082] It should be noted that the above-mentioned preset number of values can be set according to actual application needs. Specifically, the number of divided regions may be set according to the platform used. For example, when using Qualcomm platform, the preset quantity is 16*16. It should be understood that the areas of the regions are generally the same, but the purpose of the emb...
Embodiment 2
[0130] See Figure 5 , which is a schematic block diagram of a scene detection device provided in an embodiment of the present application, the device may include:
[0131] An acquisition module 51, configured to acquire an image to be detected;
[0132] Brightness value calculation module 52, for dividing the image to be detected into a preset number of regions, and calculating the average brightness value of each region;
[0133] A target area determination module 53, configured to determine the target area from the area, where the target area is a white area and / or a black area;
[0134] A grayscale information calculation module 54, configured to extract the grayscale histogram of the image to be detected based on an area other than the target area;
[0135] The scene determination module 55 is configured to determine the scene of the image to be detected according to the grayscale histogram.
[0136] In a feasible implementation manner, the above-mentioned target area ...
Embodiment 3
[0162] Figure 6 It is a schematic diagram of a terminal device provided by an embodiment of the present application. like Figure 6 As shown, the terminal device 6 of this embodiment includes: a processor 60 , a memory 61 , and a computer program 62 stored in the memory 61 and operable on the processor 60 . When the processor 60 executes the computer program 62, the steps in the above-mentioned embodiments of the scene detection method are realized, for example figure 1Steps S101 to S105 are shown. Alternatively, when the processor 60 executes the computer program 62, it realizes the functions of the modules or units in the above-mentioned device embodiments, for example Figure 5 The functions of modules 51 to 55 are shown.
[0163] Exemplarily, the computer program 62 can be divided into one or more modules or units, and the one or more modules or units are stored in the memory 61 and executed by the processor 60 to complete this application. The one or more modules 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