Disclosure of Invention
The method and the device for controlling image display provided by the embodiment of the disclosure can solve the problem of false alarm caused by identification errors in the existing anti-candid technical scheme. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a method of controlling image display, the method including:
acquiring display parameters of a display after film pasting;
configuring the camera according to the display parameters;
determining whether a target object exists according to an image acquired by a camera and a preset identification algorithm;
and controlling the image display of the display according to the recognition result.
In the embodiment of the disclosure, the display angle parameter after the film pasting of the display screen can be stored in the display parameter of the display screen, and the display screen matches the angle of the collected image of the camera and the actual screen display angle by reading the display parameter of the display screen when the camera assembly is configured, so that whether the equipment and/or the user which are secretly photographed exist in the visible range of the display after the film pasting is accurately identified, and the equipment/user misinformation which cannot be secretly photographed originally outside the visible range is avoided.
In one embodiment, the display parameters include: visual angle parameters of the display after film pasting; the target object includes: illegal users and/or illegal devices.
In one embodiment, the method further comprises, before:
and finishing the authentication of a legal user according to the image acquired by the camera.
The camera collects images to complete the authentication of legal users, so that the illegal users/illegal equipment which are shot by the camera can be identified accurately, the information safety is improved through the authentication, and the identification accuracy is improved.
In one embodiment, configuring the camera according to the display parameters includes:
determining the acquisition visual angle parameter of the camera according to the display parameter;
and configuring the camera according to the acquisition visual angle parameters.
In one embodiment, controlling the image display of the display according to the recognition result includes:
when the identification result is that the target object exists, controlling the display to stop displaying the service image;
and controlling the display to continue displaying the business image when the target object does not exist in the identification result.
According to a second aspect of the embodiments of the present disclosure, a method and an apparatus for controlling image display are provided, which specifically include:
the acquisition module is used for acquiring display parameters of the display after film pasting;
the configuration module is used for configuring the camera according to the display parameters;
the identification module is used for determining whether a target object exists according to the image acquired by the camera and a preset identification algorithm;
and the control module is used for controlling the image display of the display according to the identification result.
In the embodiment of the disclosure, the display angle parameter after the film sticking of the display screen can be stored in the display parameter of the display screen, and the display screen matches the angle of the collected image of the camera and the actual screen display angle by reading the display parameter of the display screen when the camera assembly is configured, so that whether the image collection device and/or the peeping person exist in the visible range of the display after the film sticking is accurately identified, and the device/user misinformation which cannot be secretly shot originally outside the visible range is avoided.
In one embodiment, the display parameters include: visual angle parameters of the display after film pasting; the target object includes: illegal users and/or illegal devices.
In one embodiment, the apparatus further comprises:
and the authentication module is used for finishing the authentication of a legal user according to the image acquired by the camera.
The camera collects images to complete the authentication of legal users, so that the illegal users/illegal equipment which are shot by the camera can be identified accurately, the information safety is improved through the authentication, and the identification accuracy is improved.
In one embodiment, the configuration module is specifically configured to:
determining the acquisition visual angle parameter of the camera according to the display parameter;
and configuring the camera according to the acquisition visual angle parameters.
In one embodiment, the control module is specifically configured to:
when the identification result is that the target object exists, controlling the display to stop displaying the service image;
and controlling the display to continue displaying the business image when the target object does not exist in the identification result.
According to the method and the device for controlling image display, the display angle parameter of the film sticking display screen is read, the camera assembly of the film sticking display screen is configured to match the angle of the collected image of the camera and the actual screen display angle, whether the target object exists or not is determined according to the image collected by the camera and a preset identification algorithm, and finally the image display of the display is controlled according to the identification result. Therefore, whether equipment and/or users which are secretly shot exist in the visual range of the display after the film is pasted can be accurately identified, and false alarm of the equipment/users which cannot be secretly shot originally outside the visual range is avoided.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The embodiment of the present disclosure provides a method for controlling image display, which is suitable for a display device with a camera, including various devices such as a desktop display device and a mobile terminal, as shown in fig. 1, the method includes the following steps:
101. acquiring display parameters of a display after film pasting;
in one embodiment, the display parameters include: and (4) displaying the visual angle parameter after film pasting.
Specifically, in the technical solution provided in the embodiment of the present disclosure, after a display screen of the display is pasted with a film, a viewing angle parameter of the display after the film is pasted (i.e., a viewing angle parameter that can be displayed to a user, including a horizontal viewing angle parameter and/or a vertical viewing angle parameter) is stored in a display parameter of the display. It should be noted that, generally, the display screen may have an influence on the viewing angle of the display screen after the display screen is attached to the film, the peep-proof film has a relatively large influence, and the common film has a relatively small influence.
102. Configuring the camera according to the display parameters;
in one embodiment, as shown in fig. 2, step 102 may specifically include:
1021. and determining the acquisition visual angle parameters of the camera according to the display parameters.
Illustratively, when the camera of the display is configured, the display parameters of the display after the film is pasted can be read first to obtain the visible angle parameters of the display, and the acquisition visual angle parameters of the camera can be calculated according to the visible angle parameters to match the visible angle parameters with the acquisition visual angle parameters, so that the image acquired by the camera cannot exceed the area corresponding to the visible angle of the image. The process of calculating the acquisition visual angle parameters of the camera according to the visual angle parameters is not detailed, and the acquisition visual angle parameters can be calculated through actual tests or directly calculated according to a mathematical formula.
1022. And configuring the camera according to the acquisition visual angle parameters.
Illustratively, the acquisition view angle parameters of the camera are written into the camera configuration data, so that the camera acquires images according to the configuration data when acquiring images.
103. And determining whether the target object exists according to the image acquired by the camera and a preset identification algorithm.
Wherein the target object includes: illegal users and/or illegal devices. The illegal device may be a terminal device having a photographing function, such as a mobile phone, a camera, etc. The illegal user can be other users except legal users, and the legal users refer to users who can legally watch the content of the display screen of the display through authentication.
Specifically, the preset recognition algorithm may be a neural network model, the neural network model is a recognition algorithm commonly used in the field of artificial intelligence, and step 103 may include:
1031. and inputting the image collected by the camera to the neural network model.
The neural network model is used for identifying whether the target object exists in the image or not.
It should be noted that the neural network model needs to be trained on a large amount of sample data in advance to ensure that the neural network model starts to be actually used after having a certain accuracy rate, and the accuracy rate can be continuously improved through actual use. The brief introduction to the training regimen is as follows: acquiring an initial model and a sample image, wherein the sample image comprises a first type sample image and a second type sample image; and training the initial model according to the sample image, and calculating to obtain the image recognition model, wherein the first sample image contains the target object, and the second sample image does not contain the target object. It is worth mentioning that, in the embodiment of the present disclosure, an image collected by the camera may be divided into a plurality of position area blocks, and in consideration of the use habit of the display screen, a legal user generally reads in a front manner, a target object (a candid camera and/or a user) is generally located on a side surface rather than a front area, when the image collected by the camera is identified by the neural network, an area outside the middle position area block may be identified first, and the identification efficiency may be higher.
1032. And acquiring an image recognition result output by the neural network model.
And the image recognition result is used for representing whether the target object is included in the image or not.
104. And controlling the image display of the display according to the recognition result.
In an embodiment, as shown in fig. 3, step 104 may specifically include:
1041. and when the target object exists in the recognition result, controlling the display to stop displaying the business image.
The service image is an image output by a display screen of the display when a legal user normally carries out a service.
Specifically, the controlling the display to stop displaying the service image may include: cutting off a signal source of a business image being displayed and then inputting a signal source for displaying a preset warning image; or cutting off the signal source displaying the service image and then not inputting any signal source. The first mode can be realized by switching the signal source, and the output of the normal image signal source is cut off, so that the signal source is changed into the signal source for outputting the warning picture. It is worth mentioning that, besides controlling the display to stop displaying the service image, the reminding of the user and the protection of the personal privacy information can be realized by outputting voice/vibration.
1042. And controlling the display to continue displaying the business image when the target object does not exist in the identification result.
Illustratively, a legitimate user normally conducts a service, and when the candid camera device/user is not identified, the output of the normally displayed picture source is continuously maintained.
In the embodiment of the disclosure, the display angle parameter after the film pasting of the display screen can be stored in the display parameter of the display screen, and the display screen matches the angle of the collected image of the camera and the actual screen display angle by reading the display parameter of the display screen when the camera assembly is configured, so that whether the equipment and/or the user which are secretly photographed exist in the visible range of the display after the film pasting is accurately identified, and the equipment/user misinformation which cannot be secretly photographed originally outside the visible range is avoided.
In one embodiment, as shown in fig. 4, the method may further include:
100. and finishing the authentication of a legal user according to the image acquired by the camera.
The camera collects images to complete the authentication of legal users, so that the illegal users/illegal equipment which are shot by the camera can be identified accurately, the information safety is improved through the authentication, and the identification accuracy is improved.
According to the method for controlling image display provided by the embodiment of the disclosure, the display angle parameter of the film sticking display screen is read, the camera assembly of the film sticking display screen is configured to match the angle of the collected image of the camera and the actual screen display angle, whether the target object exists is determined according to the image collected by the camera and a preset identification algorithm, and finally, the image display of the display is controlled according to the identification result. Therefore, whether equipment and/or users which are secretly shot exist in the visual range of the display after the film is pasted can be accurately identified, and false alarm of the equipment/users which cannot be secretly shot originally outside the visual range is avoided.
Based on the method for controlling image display described in the above embodiments, the following are embodiments of the apparatus of the present disclosure, which may be used to perform the embodiments of the method of the present disclosure.
An embodiment of the present disclosure provides an apparatus for controlling image display, as shown in fig. 5, the apparatus 50 including:
an obtaining module 501, configured to obtain display parameters of a display after film pasting;
a configuration module 502, configured to configure the camera according to the display parameter;
the identification module 503 is configured to determine whether a target object exists according to an image acquired by the camera and a preset identification algorithm;
and a control module 504, configured to control image display of the display according to the recognition result.
In one embodiment, the display parameters include: visual angle parameters of the display after film pasting; the target object includes: illegal users and/or illegal devices.
In one embodiment, as shown in fig. 6, the apparatus 50 further comprises:
and the authentication module 500 is configured to complete authentication of a valid user according to the image acquired by the camera.
The camera collects images to complete the authentication of legal users, so that the illegal users/illegal equipment which are shot by the camera can be identified accurately, the information safety is improved through the authentication, and the identification accuracy is improved.
In one embodiment, the configuration module 502 is specifically configured to:
determining the acquisition visual angle parameter of the camera according to the display parameter;
and configuring the camera according to the acquisition visual angle parameters.
In one embodiment, the control module 504 is specifically configured to:
when the identification result is that the target object exists, controlling the display to stop displaying the service image;
and controlling the display to continue displaying the business image when the target object does not exist in the identification result.
According to the device for controlling image display, the display parameters of the display after film pasting are obtained, the camera is configured according to the display parameters, whether the target object exists or not is determined according to the image collected by the camera and a preset identification algorithm, and finally the image display of the display is controlled according to the identification result. Therefore, whether equipment and/or users which are secretly shot exist in the visual range of the display after the film is pasted can be accurately identified, and false alarm of the equipment and/or users which cannot be secretly shot originally outside the visual range is avoided.
Based on the method for controlling image display described in the above embodiments, embodiments of the present disclosure also provide a computer-readable storage medium, for example, a non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the method for controlling image display described in the corresponding embodiments, which is not described herein again.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.