Background
The database is a repository for data. The storage space is large, and millions, tens of millions and hundreds of millions of data can be stored. However, the database does not store the data randomly, and there is a certain rule, otherwise the query efficiency is low. The world today is an internet world filled with data, which is filled with large amounts of data. I.e. this internet world is the data world. There are many sources of data such as travel records, consumption records, web pages browsed, messages sent, etc. In addition to text type data, images, music, sound are all data.
In the development history of the database, the database successively goes through the development of each stage of hierarchical database, mesh database, relational database and the like, and the database technology rapidly develops in each aspect. In particular, relational databases have become the most important member of current database products, and almost all database products from database manufacturers support relational databases since the 80 s, and even some non-relational database products have interfaces to support relational databases. This is mainly a good solution to the problem of managing and storing relational data with conventional relational databases. With the development of cloud computing and the advent of large data age, relational databases are increasingly unable to meet the demands, mainly because more and more semi-relational and non-relational data need to be stored and managed by databases, and meanwhile, new requirements are also put on the technologies of the databases due to the appearance of new technologies such as distributed technologies, so that more and more non-relational databases begin to appear, and the databases are greatly different from traditional relational databases in design and data structure, and emphasize the high concurrency of data read-write and large data storage of the databases, and are generally called NoSQL (Not only SQL) databases. While traditional relational databases remain powerful in some traditional areas.
Currently, database applications are common, providing data solutions for each application scenario. However, too many subdivision areas result in databases lacking sophisticated processing mechanisms in some subdivision areas, such as in focus applications for camera capture mechanisms. Specifically, for each image capturing mechanism, it has the following two drawbacks: the focusing execution equipment of the shooting capturing mechanism keeps an enabling state all the time, and misoperation is easy to occur; the image currently captured by the image capturing mechanism is difficult to accurately judge the accurate state at the out-of-focus and in-focus edges, so that it is impossible to determine whether the subsequent in-focus processing needs to be performed.
Disclosure of Invention
In order to solve the technical problems in the related art, the invention provides an identification analysis system and an identification analysis method for a correlation database, which can provide correlated image data for each shooting capture mechanism by adopting a database storage mode, provide a data basis for learning and building an out-of-focus model of each shooting capture mechanism, and particularly, introduce the out-of-focus model after multiple learning to execute on-site judgment of whether a current captured image is in an out-of-focus state or not, thereby providing valuable reference information for unlocking focusing execution equipment of the shooting capture mechanism and avoiding misoperation of the focusing execution equipment.
According to an aspect of the present invention, there is provided an identity analysis system for an association database, the system comprising:
the system comprises a database memory, a camera shooting and capturing mechanism and a camera shooting and capturing mechanism, wherein the database memory is used for executing database storage of standard pictures by adopting a picture database, each brightness value of each pixel point of each standard picture and a defocus mark for indicating whether the standard picture is in a defocus state are stored in the picture database, and the resolutions of the standard pictures in the picture database are the same and come from the same camera shooting and capturing mechanism;
the camera shooting capturing mechanism is associated with a certain picture database in the database memory and is used for executing the capturing action of the current scene under the instruction of a user so as to obtain the current scene image;
the modeling operation mechanism is respectively connected with the database memory and the camera capturing mechanism, and is used for taking a picture database in the database memory and associated with the camera capturing mechanism as a target database, taking each brightness value of each pixel point of a certain standard picture in the target database, the resolution of the standard picture and the signal-to-noise ratio of the standard picture as multiple input contents of an artificial intelligent model, taking a defocus identification corresponding to the standard picture as single output content of the artificial intelligent model, completing single learning operation of the artificial intelligent model, and taking the artificial intelligent model subjected to preset total learning number as an intelligent judgment body to be output;
the defocus judgment device is connected with the modeling operation mechanism and is used for taking each brightness value of each pixel point of the current scene image, the resolution of the current scene image and the signal-to-noise ratio of the current scene image as multiple input contents of an intelligent judgment body and executing the intelligent judgment body to obtain a defocus mark corresponding to the current scene image output by the intelligent judgment body;
the enabling control device is connected with the focusing execution device of the camera capturing mechanism and is used for enabling the focusing execution device when the current scene image is judged to be in a defocusing state based on a defocusing mark corresponding to the current scene image output by the intelligent judgment body;
the method for outputting the artificial intelligent model comprises the steps of taking each brightness value of each pixel point of a certain standard picture in the target database, the resolution of the standard picture and the signal-to-noise ratio of the standard picture as multiple input contents of the artificial intelligent model, taking an out-of-focus identifier corresponding to the standard picture as single output content of the artificial intelligent model, completing single learning operation of the artificial intelligent model, and taking the artificial intelligent model with the preset total number of learnings as an intelligent judgment body to output the artificial intelligent model comprises the following steps: the value of the preset learning total number is in direct proportion to the resolution of the standard picture;
wherein the database memory holds a plurality of picture databases, each picture database corresponding to a different image capture mechanism.
According to another aspect of the present invention, there is also provided an identification analysis method for an association database, the method including:
the method comprises the steps of using a database memory to store a database of standard pictures, wherein the database of pictures is used for storing brightness values of pixels of each standard picture and defocus marks for indicating whether the standard picture is in a defocus state, and the resolution of each standard picture in the database of pictures is the same and comes from the same shooting and capturing mechanism;
using a camera capturing mechanism to be associated with a certain picture database in the database memory and used for executing the capturing action of the current scene under the instruction of a user so as to obtain the current scene image;
the modeling operation mechanism is respectively connected with the database memory and the camera capturing mechanism and is used for taking a picture database which is associated with the camera capturing mechanism in the database memory as a target database, taking each brightness value of each pixel point of a certain standard picture in the target database, the resolution of the standard picture and the signal-to-noise ratio of the standard picture as multiple input contents of an artificial intelligent model, taking a defocus identification corresponding to the standard picture as single output content of the artificial intelligent model, completing single learning operation of the artificial intelligent model, and taking the artificial intelligent model subjected to the preset total learning number as an intelligent judgment body to be output;
the method comprises the steps of using out-of-focus judgment equipment, connecting with a modeling operation mechanism, and using each brightness value of each pixel point of a current scene image, the resolution of the current scene image and the signal-to-noise ratio of the current scene image as multiple input contents of an intelligent judgment body and executing the intelligent judgment body to obtain out-of-focus identification corresponding to the current scene image output by the intelligent judgment body;
an enabling control device is connected with a focusing execution device of the camera capturing mechanism and is used for enabling the focusing execution device when the current scene image is judged to be in a defocusing state based on a defocusing mark corresponding to the current scene image output by the intelligent judgment body;
the method for outputting the artificial intelligent model comprises the steps of taking each brightness value of each pixel point of a certain standard picture in the target database, the resolution of the standard picture and the signal-to-noise ratio of the standard picture as multiple input contents of the artificial intelligent model, taking an out-of-focus identifier corresponding to the standard picture as single output content of the artificial intelligent model, completing single learning operation of the artificial intelligent model, and taking the artificial intelligent model with the preset total number of learnings as an intelligent judgment body to output the artificial intelligent model comprises the following steps: the value of the preset learning total number is in direct proportion to the resolution of the standard picture;
wherein the database memory holds a plurality of picture databases, each picture database corresponding to a different image capture mechanism.
The identification analysis system and method for the association database have compact logic and stable operation. The database storage mode can be adopted to provide associated image data for each camera capturing mechanism, and meanwhile, the multi-time learned out-of-focus model is introduced to execute on-site judgment of whether the current captured image is in an out-of-focus state, so that valuable reference information is provided for unlocking the focusing execution equipment of the camera capturing mechanism.
Detailed Description
The present invention will now be described in detail with reference to the accompanying drawings with respect to the disclosed subject matter.
Example 1
FIG. 1 is a block diagram illustrating the architecture of an identification analysis system for an associated database, the system comprising:
the system comprises a database memory, a camera shooting and capturing mechanism and a camera shooting and capturing mechanism, wherein the database memory is used for executing database storage of standard pictures by adopting a picture database, each brightness value of each pixel point of each standard picture and a defocus mark for indicating whether the standard picture is in a defocus state are stored in the picture database, and the resolutions of the standard pictures in the picture database are the same and come from the same camera shooting and capturing mechanism;
the camera shooting capturing mechanism is associated with a certain picture database in the database memory and is used for executing the capturing action of the current scene under the instruction of a user so as to obtain the current scene image;
the modeling operation mechanism is respectively connected with the database memory and the camera capturing mechanism, and is used for taking a picture database in the database memory and associated with the camera capturing mechanism as a target database, taking each brightness value of each pixel point of a certain standard picture in the target database, the resolution of the standard picture and the signal-to-noise ratio of the standard picture as multiple input contents of an artificial intelligent model, taking a defocus identification corresponding to the standard picture as single output content of the artificial intelligent model, completing single learning operation of the artificial intelligent model, and taking the artificial intelligent model subjected to preset total learning number as an intelligent judgment body to be output;
the defocus judgment device is connected with the modeling operation mechanism and is used for taking each brightness value of each pixel point of the current scene image, the resolution of the current scene image and the signal-to-noise ratio of the current scene image as multiple input contents of an intelligent judgment body and executing the intelligent judgment body to obtain a defocus mark corresponding to the current scene image output by the intelligent judgment body;
the enabling control device is connected with the focusing execution device of the camera capturing mechanism and is used for enabling the focusing execution device when the current scene image is judged to be in a defocusing state based on a defocusing mark corresponding to the current scene image output by the intelligent judgment body;
the method for outputting the artificial intelligent model comprises the steps of taking each brightness value of each pixel point of a certain standard picture in the target database, the resolution of the standard picture and the signal-to-noise ratio of the standard picture as multiple input contents of the artificial intelligent model, taking an out-of-focus identifier corresponding to the standard picture as single output content of the artificial intelligent model, completing single learning operation of the artificial intelligent model, and taking the artificial intelligent model with the preset total number of learnings as an intelligent judgment body to output the artificial intelligent model comprises the following steps: the value of the preset learning total number is in direct proportion to the resolution of the standard picture;
the database memory holds a plurality of picture databases, and each picture database corresponds to a different shooting and capturing mechanism;
the image database adopted by the database memory is based on a relational database and is used for executing database storage of standard images, each brightness value of each pixel point of each standard image and a defocus mark for indicating whether the standard image is in a defocus state are stored in the image database, and each standard image in the image database has the same resolution and comes from the same shooting and capturing mechanism;
and the specific types of the relational database are MySQL, SQL Server, oracle and the like.
Example 2
Next, a further explanation of the specific structure of the identification analysis system for an associated database of the present invention will be continued.
The identification analysis system for the association database may further include:
the information storage device is connected with the modeling operation mechanism and used for storing various model parameters of the artificial intelligent model subjected to the preset total learning number;
the enabling control device is further used for disabling the focusing execution device when the current scene image is judged to be in a focusing state based on the out-of-focus identification corresponding to the current scene image output by the intelligent judgment body.
In the identification analysis system for the association database:
taking each brightness value of each pixel point of a current scene image, the resolution of the current scene image and the signal-to-noise ratio of the current scene image as multiple input contents of an intelligent judgment body and executing the intelligent judgment body to obtain an out-of-focus identifier corresponding to the current scene image output by the intelligent judgment body comprises the following steps: the resolution of the current scene image is the same as the resolution of any standard picture in a picture database associated with the camera capture mechanism.
In the identification analysis system for the association database:
the picture database stores each brightness value of each pixel point of each standard picture, and the defocus identification for indicating whether the standard picture is in a defocus state comprises: the luminance value of each pixel is between 0 and 255.
And in the identification analysis system for the association database:
the picture database stores each brightness value of each pixel point of each standard picture, and the defocus identification for indicating whether the standard picture is in a defocus state comprises: adopting 0X00 as a defocus mark of the standard picture which is not in a defocus state, and adopting 0XFF as a defocus mark of the standard picture which is in a defocus state;
the method for obtaining the defocus identification corresponding to the current scene image output by the intelligent judgment body by using the brightness values of the pixels of the current scene image, the resolution of the current scene image and the signal-to-noise ratio of the current scene image as multiple input contents of the intelligent judgment body and executing the intelligent judgment body further comprises the following steps: and when the defocus identifier corresponding to the current scene image output by the intelligent judging body is equal to 0XFF, judging that the current scene image is in a defocus state.
Example 3
Fig. 2 is a flowchart showing steps of a method for identity analysis of an association database according to an embodiment of the present invention, the method specifically including the steps of:
step S201: the method comprises the steps of using a database memory to store a database of standard pictures, wherein the database of pictures is used for storing brightness values of pixels of each standard picture and defocus marks for indicating whether the standard picture is in a defocus state, and the resolution of each standard picture in the database of pictures is the same and comes from the same shooting and capturing mechanism;
step S202: using a camera capturing mechanism to be associated with a certain picture database in the database memory and used for executing the capturing action of the current scene under the instruction of a user so as to obtain the current scene image;
step S203: the modeling operation mechanism is respectively connected with the database memory and the camera capturing mechanism and is used for taking a picture database which is associated with the camera capturing mechanism in the database memory as a target database, taking each brightness value of each pixel point of a certain standard picture in the target database, the resolution of the standard picture and the signal-to-noise ratio of the standard picture as multiple input contents of an artificial intelligent model, taking a defocus identification corresponding to the standard picture as single output content of the artificial intelligent model, completing single learning operation of the artificial intelligent model, and taking the artificial intelligent model subjected to the preset total learning number as an intelligent judgment body to be output;
step S204: the method comprises the steps of using out-of-focus judgment equipment, connecting with a modeling operation mechanism, and using each brightness value of each pixel point of a current scene image, the resolution of the current scene image and the signal-to-noise ratio of the current scene image as multiple input contents of an intelligent judgment body and executing the intelligent judgment body to obtain out-of-focus identification corresponding to the current scene image output by the intelligent judgment body;
step S205: an enabling control device is connected with a focusing execution device of the camera capturing mechanism and is used for enabling the focusing execution device when the current scene image is judged to be in a defocusing state based on a defocusing mark corresponding to the current scene image output by the intelligent judgment body;
the method for outputting the artificial intelligent model comprises the steps of taking each brightness value of each pixel point of a certain standard picture in the target database, the resolution of the standard picture and the signal-to-noise ratio of the standard picture as multiple input contents of the artificial intelligent model, taking an out-of-focus identifier corresponding to the standard picture as single output content of the artificial intelligent model, completing single learning operation of the artificial intelligent model, and taking the artificial intelligent model with the preset total number of learnings as an intelligent judgment body to output the artificial intelligent model comprises the following steps: the value of the preset learning total number is in direct proportion to the resolution of the standard picture;
wherein the database memory holds a plurality of picture databases, each picture database corresponding to a different image capture mechanism.
Next, the specific steps of the identification analysis method for the association database of the present invention will be further described.
The identification analysis method for the association database may further include:
the information storage equipment is connected with the modeling operation mechanism and is used for storing various model parameters of the artificial intelligent model subjected to the preset total learning number;
the enabling control device is further used for disabling the focusing execution device when the current scene image is judged to be in a focusing state based on the out-of-focus identification corresponding to the current scene image output by the intelligent judgment body.
The identification analysis method for the association database comprises the following steps:
taking each brightness value of each pixel point of a current scene image, the resolution of the current scene image and the signal-to-noise ratio of the current scene image as multiple input contents of an intelligent judgment body and executing the intelligent judgment body to obtain an out-of-focus identifier corresponding to the current scene image output by the intelligent judgment body comprises the following steps: the resolution of the current scene image is the same as the resolution of any standard picture in a picture database associated with the camera capture mechanism.
The identification analysis method for the association database comprises the following steps:
the picture database stores each brightness value of each pixel point of each standard picture, and the defocus identification for indicating whether the standard picture is in a defocus state comprises: the luminance value of each pixel is between 0 and 255.
And in the identification analysis method for the association database:
the picture database stores each brightness value of each pixel point of each standard picture, and the defocus identification for indicating whether the standard picture is in a defocus state comprises: adopting 0X00 as a defocus mark of the standard picture which is not in a defocus state, and adopting 0XFF as a defocus mark of the standard picture which is in a defocus state;
the method for obtaining the defocus identification corresponding to the current scene image output by the intelligent judgment body by using the brightness values of the pixels of the current scene image, the resolution of the current scene image and the signal-to-noise ratio of the current scene image as multiple input contents of the intelligent judgment body and executing the intelligent judgment body further comprises the following steps: and when the defocus identifier corresponding to the current scene image output by the intelligent judging body is equal to 0XFF, judging that the current scene image is in a defocus state.
In addition, in the identification analysis system and method for a correlation database, taking each brightness value of each pixel point of a current scene image, the resolution of the current scene image, and the signal-to-noise ratio of the current scene image as multiple input contents of an intelligent judgment body, and executing the intelligent judgment body to obtain an out-of-focus identification corresponding to the current scene image output by the intelligent judgment body further includes: and when the defocus mark corresponding to the current scene image output by the intelligent judgment body is equal to 0X00, judging that the current scene image is in a focusing state.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the scope or spirit of the invention. It is therefore to be understood that the above-described embodiments are illustrative only and are not limiting. Since the scope of the invention is defined by the claims rather than the foregoing description, any changes and modifications that fall within the metes and bounds of the claims, or equivalence of such metes and bounds thereof, are therefore intended to be embraced by the claims.