Photographing brightness adjusting method and device applied to recovery detection
A technology of brightness adjustment and brightness, which is applied in the field of photo brightness adjustment methods and devices, and can solve problems such as low detection efficiency and affecting detection accuracy
Pending Publication Date: 2022-04-19
广州绿怡信息科技有限公司
0 Cites 0 Cited by
AI-Extracted Technical Summary
Problems solved by technology
However, the detection chamber is a confined space. Adjusting the brightness of the smart device requires frequent opening and clo...
Method used
Above-mentioned computer equipment, according to the wired connection of recovery machine and intelligent equipment to be tested, determine the wireless communication IP address that intelligent equipment to be tested is connected, to read the equipment screen brightness and maximum of intelligent equipment to be tested by wireless communication IP address Screen brightness, the device screen brightness threshold is calculated according to the maximum screen brightness. When the device screen brightness is different from the device screen brightness threshold, the device screen brightness is adjusted to the device screen brightness threshold through the wireless communication IP address; Measure the brightness of the photo light of the recycling machine sensed by the smart device; when the brightness of the photo light does not meet the preset conditions, adjust the brightness of the photo light according to the maximum screen brightness. Based on this, establish an indirect bridge through the wireless communication network connected to the smart device to be tested, adjust the screen display brightness and camera light brightness of the smart device to be tested, improve the cooperation effect between the camera light and the device screen, and capture the image of the device screen more clearly Detect features.
The above-mentioned photographic brightness adjustment device that is applied to recovery detection, according to the wired connection between the recovery machine and the smart device to be tested, determines the connected wireless communication IP address of the smart device to be tested, to read the device to be tested by the wireless communication IP address The device screen brightness and maximum screen brightness of the smart device, calculate the device screen brightness threshold according to the maximum screen brightness, and adjust the device screen brightness to the device screen brightness threshold through the wireless communication IP address when the device screen brightness is different from the device screen brightness threshold; Read the camera light bright...
Abstract
The invention relates to a photographing brightness adjusting method and device applied to recovery detection, and aims to read the equipment screen brightness and the maximum screen brightness of to-be-detected intelligent equipment through a wireless communication IP address, calculate an equipment screen brightness threshold according to the maximum screen brightness, and adjust the photographing brightness when the equipment screen brightness is different from the equipment screen brightness threshold. Adjusting the equipment screen brightness to an equipment screen brightness threshold value through the wireless communication IP address; reading the brightness of a photographing lamp of the recycling machine sensed by the intelligent equipment to be tested through the wireless communication IP address; and when the photographing lamp brightness does not meet the preset condition, adjusting the photographing lamp brightness according to the maximum screen brightness. On the basis, an indirect bridge is established through a wireless communication network connected with the to-be-detected intelligent equipment, the screen display brightness and the photographing lamp brightness of the to-be-detected intelligent equipment are adjusted, the matching effect of the photographing lamp and the equipment screen is improved, and the detection characteristics of the equipment screen can be shot and captured more clearly.
Application Domain
Television system detailsConnection management +3
Technology Topic
Ip addressEngineering +6
Image
Examples
- Experimental program(1)
Example Embodiment
[0044] In order to better understand the object of the present invention, the technical solution and technical effect, the following in conjunction with the accompanying drawings and embodiments of the present invention will be further explained. Also stated, the embodiments described below are for illustrative purposes only and are not intended to qualify the present invention.
[0045] Among them, in the recovery process of the smart device to be tested, the recovery test is carried out by the recovery machine to be tested by the smart device under test. The recycling machine can establish a data connection with the smart device to be detected by means of a wired connection, obtain the corresponding data of the smart device to be detected or transmit the corresponding data to the smart device to be detected. At the same time, the smart device under test has a wireless communication connection with the outside world.
[0046] Based on this, on the basis of the wired connection between the recycling machine and the smart device to be tested, that is, the wired data connection, a photo brightness adjustment method applied to the recovery detection is provided.
[0047] Figure 1 Flowchart of a photo brightness adjustment method applied to recycling detection for an embodiment, such as Figure 1 As shown, an embodiment applied to the photo brightness adjustment method of recovery detection comprises steps S100 to step S106:
[0048] S100, according to the wired connection between the recycling machine and the smart device to be tested, determine the wireless communication IP address of the smart device to be tested;
[0049] S101, connect wireless communication IP address;
[0050] S102, reading the device screen brightness and maximum screen brightness of the smart device to be tested by wireless communication IP address;
[0051] S103, calculating the device screen brightness threshold according to the maximum screen brightness;
[0052] S104, when the device screen brightness is different from the device screen brightness threshold, adjust the device screen brightness to the device screen brightness threshold through the wireless communication IP address;
[0053] S105, read the brightness of the photo lamp of the recycling machine sensed by the smart device under test through the wireless communication IP address;
[0054] S106, when the brightness of the photo lamp does not meet the preset conditions, adjust the brightness of the photo lamp according to the maximum screen brightness.
[0055] In the scenario application of the above steps, the wired connection between the recycling machine and the smart device to be tested can be disconnected after the wireless communication IP address is determined, and the smart device to be tested is placed in the detection bin of the recovery machine for shooting detection.
[0056] Subsequent data interaction, by the performing body of the above steps through the wireless communication IP address to interact with the smart device to be tested, without the need to open the detection bin manual removal operation.
[0057] In one embodiment, the performing body of the above steps through the wireless communication IP address to interact with the smart device to be tested process, are issued to debug commands for the implementation of the corresponding steps.
[0058] In one embodiment, the communication method corresponding to the wireless communication IP address includes WiFi wireless communication, Bluetooth wireless communication or ZigBee wireless communication and the like.
[0059] Take the smart device under test as an Android device, and the corresponding communication method is WiFi wireless communication mode as an example. Based on the WiFi wireless communication method, the subsequent debugging command is executed through the WiFi network mode between the subject and the smart device to be tested.
[0060] In one embodiment, the debug command is the adb command, corresponding to the Android device.
[0061] At the same time, the wireless communication IP address connected to the smart device under test is also determined in the form of debugging commands.
[0062] It should be noted that according to the system type of the smart device to be tested, different implementation methods can be used to perform the wired connection established by the executing subject and the wireless connection based on the wireless communication IP address of the smart device to be tested, which is not limited to the execution of the above debugging commands.
[0063] Based on this, Figure 2 Another embodiment of the application of a photo brightness adjustment method for recycling detection flowchart, such as Figure 2 As shown, step S100 according to the recovery machine and the wired connection of the smart device under test, the process of determining the wireless communication IP address of the smart device to be tested, including step S200:
[0064] S200, according to the wired connection between the recycling machine and the smart device under test to execute the debugging command, through the debugging command to determine the wireless communication IP address of the smart device to be connected.
[0065] In one embodiment, such as Figure 2 As shown in step S102, the process of reading the device screen brightness and maximum screen brightness of the smart device to be measured by wireless communication IP address, including step S201:
[0066] S201, through the wireless communication IP address to execute the debugging command, according to the debugging command to read the device screen brightness and maximum screen brightness of the smart device under test.
[0067] In one embodiment, such as Figure 2 As shown in step S104, the process of adjusting the device screen brightness to the device screen brightness threshold by wireless communication IP address, including step S202:
[0068] S202, through the wireless communication IP address to execute the debugging command, according to the debugging command to adjust the device screen brightness to the device screen brightness threshold.
[0069] In one embodiment, the device screen brightness threshold is the product of the maximum screen brightness and a preset factor. Preset coefficients include 0.5-0.9. As a preferred embodiment, the preset coefficient is 0.8.
[0070] In one embodiment, such as Figure 2 As shown, step S105 reads the photo light brightness of the recovered machine sensed by the smart device under test by wireless communication IP address, including step S203:
[0071] S203, through the wireless communication IP address to execute the debugging command, according to the debugging command to read the brightness of the camera light of the recovery machine induced by the smart device under test.
[0072] In one embodiment, step S203 reads the process of recovering the brightness of the camera lamp of the recovery machine sensed by the smart device under test according to the debugging command, comprising steps:
[0073] Invoke the API interface of the smart device under test according to the debug command;
[0074] Through the API interface, the brightness of the photo lamp of the recovery machine sensed by the photometer of the smart device to be measured is read.
[0075] In one embodiment, when the system of the smart device under test is an Android system, the debug command can optionally use the Adb (Android Debug Bridge Android Debug Bridge) command.
[0076] Similarly, depending on the system selection, you can choose the debugging commands that implement data invocation and interactive control accordingly.
[0077] In one embodiment, such as Figure 2 As shown, the process of adjusting the brightness of the camera light according to the maximum screen brightness in step S106, including step S204:
[0078] S204, adjust the camera light brightness to a preset multiple of the maximum screen brightness.
[0079] Similarly, the default condition for the brightness of the photo lamp is whether the brightness of the photo lamp is close to or equal to the product of the maximum screen brightness and the preset multiple.
[0080] In one embodiment, the preset multiple is 1.4-2.0. As a preferred embodiment, the preset multiple is 1.7.
[0081] Any of the above embodiments applied to the recovery detection of the photo brightness adjustment method, according to the recovery machine and the smart device to be tested wired connection, to determine the wireless communication IP address connected to the smart device to be measured, to read the device screen brightness and maximum screen brightness of the smart device to be measured through the wireless communication IP address, according to the maximum screen brightness to calculate the device screen brightness threshold, in the device screen brightness and the device screen brightness threshold is different, Adjust the device screen brightness to the device screen brightness threshold through the wireless communication IP address; read the photo light brightness of the recycled machine sensed by the smart device to be measured through the wireless communication IP address; adjust the photo light brightness according to the maximum screen brightness when the photo light brightness does not meet the preset conditions. Based on this, an indirect bridge is established through the wireless communication network connected to the smart device itself, the screen display brightness and the brightness of the camera light of the smart device to be measured are adjusted, the coordination effect of the camera light and the device screen is improved, and the detection characteristics of the capture device screen can be clearly captured.
[0082] Embodiments of the present invention further provides a photo brightness adjustment device applied to the recovery detection.
[0083] Figure 3 For an embodiment of the application of the recovery detection of the camera brightness adjustment device module structure diagram, such as Figure 3 As shown, an embodiment applied to the recovery detection of the photo brightness adjustment apparatus comprising:
[0084] Address determination module 100, for determining the wireless communication IP address of the smart device to be tested according to the wired connection between the recycling machine and the smart device to be tested;
[0085] Address connection module 101 for connecting wireless communication IP address;
[0086] Brightness reading module 102, for reading the device screen brightness and maximum screen brightness of the smart device to be measured by wireless communication IP address;
[0087] Threshold calculation module 103, for calculating the device screen brightness threshold according to the maximum screen brightness;
[0088] Screen adjustment module 104, for when the device screen brightness and the device screen brightness threshold is different, the device screen brightness is adjusted to the device screen brightness threshold by wireless communication IP address;
[0089] Light reading module 105, for reading the brightness of the photo lamp of the recovery machine sensed by the intelligent device to be measured by the wireless communication IP address;
[0090] Light adjustment module 106, for when the brightness of the photo lamp does not meet the preset conditions, adjust the brightness of the photo lamp according to the maximum screen brightness.
[0091] The above-mentioned photo brightness adjustment device applied to the recovery detection, according to the wired connection between the recovery machine and the smart device to be tested, determines the wireless communication IP address connected to the smart device to be tested, in order to read the device screen brightness and maximum screen brightness of the smart device to be measured through the wireless communication IP address, calculate the device screen brightness threshold according to the maximum screen brightness, and adjust the device screen brightness threshold to the device screen brightness threshold through the wireless communication IP address Read the brightness of the photo lamp of the recycled machine sensed by the smart device under test through the wireless communication IP address; adjust the brightness of the photo lamp according to the maximum screen brightness when the brightness of the photo lamp does not meet the preset conditions. Based on this, an indirect bridge is established through the wireless communication network connected to the smart device itself, the screen display brightness and the brightness of the camera light of the smart device to be measured are adjusted, the coordination effect of the camera light and the device screen is improved, and the detection characteristics of the capture device screen can be clearly captured.
[0092] Embodiments of the present invention further provides a computer storage medium on which computer instructions are stored, the instructions are executed by the processor to achieve any of the above embodiments applied to the recovery detection of the photo brightness adjustment method.
[0093] Those of ordinary skill in the art will appreciate that all or part of the process of implementing the above embodiment method, may be completed by a computer program to instruct the relevant hardware, the computer program may be stored in a nonvolatile computer readable storage medium, the computer program when executed, may include a process such as embodiments of the above methods. Wherein, any reference to memory, storage, database, or other media used in the various embodiments provided in the present application may include nonvolatile and / or volatile memory. Nonvolatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration rather than a limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchlink (SYNChlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM ( DRDRAM), as well as memory bus dynamic RAM (RDRAM), etc.
[0094] Alternatively, if the above-described integrated unit of the present invention is implemented in the form of a software function module and sold or used as a stand-alone product, it may also be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the embodiments of the present invention is essentially or a portion of the contribution to the related technology may be embodied in the form of a software product, the computer software product stored in a storage medium, comprising a number of instructions for such that a computer device (may be a personal computer, terminal, or network device, etc.) to perform all or part of the various embodiments of the present invention. The storage media described above include: removable storage devices, RAM, ROM, disk or optical disk and other media that can store program code.
[0095] Corresponding to the above-described computer storage medium, in one embodiment further provides a computer device, the computer device comprising a memory, a processor and a computer program stored on the memory and may run on the processor, wherein the processor implements the program to achieve as in any of the above embodiments applied to the recovery detection of the photo brightness adjustment method.
[0096] The computer apparatus may be a terminal, its internal structure diagram may be as follows Figure 4 as shown. The computer apparatus comprises a processor, memory, network interface, display screen and input device connected via the system bus. Wherein, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer apparatus includes a nonvolatile storage medium, an internal memory. This non-volatile storage medium stores operating systems and computer programs. The memory provides an environment for the operation of operating systems and computer programs in a non-volatile storage medium. The network interface of the computer device is used to communicate with external terminals through a network connection. The computer program is executed by the processor to implement a method of adjusting the brightness of the photo applied to the recovery detection. The display screen of the computer device may be a liquid crystal display or an electronic ink display, the input device of the computer device may be a touch layer covered on the display screen, or it may be a button, trackball or trackpad set on the computer equipment shell, or an external keyboard, trackpad or mouse.
[0097] The above-mentioned computer equipment, according to the wired connection between the recycling machine and the smart device to be tested, determines the wireless communication IP address connected to the smart device to be tested, in order to read the device screen brightness and maximum screen brightness of the smart device to be measured through the wireless communication IP address, calculate the device screen brightness threshold according to the maximum screen brightness, and adjust the device screen brightness to the device screen brightness threshold through the wireless communication IP address Read the brightness of the photo lamp of the recycled machine sensed by the smart device under test through the wireless communication IP address; adjust the brightness of the photo lamp according to the maximum screen brightness when the brightness of the photo lamp does not meet the preset conditions. Based on this, an indirect bridge is established through the wireless communication network connected to the smart device itself, the screen display brightness and the brightness of the camera light of the smart device to be measured are adjusted, the coordination effect of the camera light and the device screen is improved, and the detection characteristics of the capture device screen can be clearly captured.
[0098] The technical features of the above embodiments may be arbitrarily combined, in order to make the description concise, not all possible combinations of each of the technical features in the above embodiments are described, however, as long as the combination of these technical features does not contradictory, it should be considered to be the scope of the present specification.
[0099] The above embodiments only express several embodiments of the present invention, the description of which is more specific and detailed, but can not be understood as a limitation on the scope of the invention patent. It should be noted that, for those of ordinary skill in the art, without departing from the premise of the present invention concept, several deformations and improvements may also be made, which fall within the scope of the present invention. Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
PUM


Description & Claims & Application Information
We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.