Camera adaptive adjustment method, system and medium
By preprocessing and extracting feature data of the camera recorded images, automatically adjusting the image level and clarity, and selecting the recording mode according to the distance, the shortcomings of the existing cameras in terms of recording effects are solved, and an efficient and automated recording system is realized.
Patent Information
- Application Number
- CN202510277427.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-10
- Publication Date
- 2025-04-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
There are shortcomings in the recording effect of existing cameras, especially in the technology of image quality, sound quality and horizontal angle adjustment, and there is a lack of effective adjustment methods to meet the needs of different environments.
By acquiring the camera recorded images within the preset time period for preprocessing, image feature data such as image level data and clarity data are extracted, level correction information and clarity adjustment information are automatically obtained based on these data, and the pickup mode and recording channel are automatically selected according to the distance of the recording object.
It realizes automatic optimization of camera images, avoid image tilt, improve viewing experience; ensure image clarity and improve recording quality; automatically adjust the recording mode at different distances to ensure clear sound, significantly improving the efficiency and accuracy of the recording system and reducing labor costs.
Smart Images

Figure CN119788977A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart devices and big data technology, and more specifically, to a camera adaptive adjustment method, system and medium. Background Art
[0002] With the continuous development of technology, cameras have evolved from simple photo-taking tools to smart devices that play an important role in smart homes, security monitoring, video conferencing and other fields. However, due to the limitations of light and space environment, camera images and sound recording often fail to meet requirements.
[0003] The current camera recording effect still has some defects in the camera image quality, sound quality and horizontal angle adjustment technology, especially the control of camera recording effect and the evaluation of overall sound quality. There is a lack of a technical method to adjust the image quality and sound quality and maintain the level, and to control and analyze the quality of sound recording.
[0004] In view of the above problems, effective technical solutions are currently awaited. Summary of the invention
[0005] The purpose of the present application is to provide a camera adaptive adjustment method, system and medium, which can obtain the camera recorded image within a preset time period for preprocessing to obtain an optimized recorded image; obtain the camera recorded image data set corresponding to the optimized recorded image and extract the recorded image feature data, including image horizontality data and image clarity data. According to the comparison between the image horizontality data and the preset horizontality threshold, the horizontal correction information is obtained; according to the comparison between the image clarity data and the preset clarity threshold, the clarity adjustment information is obtained. The recording object distance data within the preset time period is obtained for processing, the sound pickup mode information is obtained, and the recording is performed through the corresponding sound pickup channel. The present application automatically obtains the horizontal correction information, automatically adjusts the image clarity, and can not only improve the recording quality through different sound pickup modes, but also ensure that clear sound can be captured at different distances.
[0006] The present application provides a camera adaptive adjustment method, comprising the following steps: Obtain camera recorded images within a preset time period for preprocessing to obtain optimized recorded images; Acquire a camera recorded image data set corresponding to the optimized recorded image and extract recorded image feature data, including image horizontality data and image clarity data; Comparing the image level data with a preset level threshold to obtain level correction information; Comparing the image clarity data with a preset clarity threshold to obtain clarity adjustment information; The distance data of the recording object within the preset time period is obtained for processing, the sound pickup pattern information is obtained, and the recording is performed through the corresponding sound pickup channel.
[0007] Among them, in a camera adaptive adjustment method described in the present application, obtaining an optimized recorded image is specifically: Obtain the camera recorded images within a preset time period and perform region segmentation to obtain multiple sub-region images; Obtaining brightness values of the multiple sub-region images and comparing them with a preset brightness threshold to obtain a brightness deviation rate; comparing the brightness deviation rate with a preset brightness deviation rate threshold; If the brightness deviation rate is greater than or equal to the brightness deviation rate threshold, the image dark information is sent; If the brightness deviation rate is less than the brightness deviation rate threshold, an optimized recorded image is obtained.
[0008] Among them, in a camera adaptive adjustment method described in the present application, the obtaining of horizontal correction information is specifically: Comparing the image level data with a preset level threshold to obtain a level deviation rate; comparing the levelness deviation rate with a preset levelness deviation rate threshold; If the level deviation rate is greater than or equal to a preset level deviation rate threshold, obtaining level correction information; If the level deviation rate is less than the preset level deviation rate threshold, the level information is sent.
[0009] Among them, in a camera adaptive adjustment method described in the present application, obtaining the definition adjustment information is specifically: Comparing the image clarity data with a preset first clarity threshold and a preset second clarity threshold respectively, wherein the first clarity threshold is less than the second clarity threshold; If the image definition data is less than a first definition threshold, obtaining definition adjustment information; If the image definition data is greater than or equal to the first definition threshold and less than or equal to the second definition threshold, sending good image quality information; If the image clarity data is greater than the second clarity threshold, high-definition image quality information is sent.
[0010] Among them, in a camera adaptive adjustment method described in the present application, the obtaining of sound pickup pattern information and recording through a corresponding sound pickup channel is specifically as follows: Acquire the distance data of the recorded object within the preset time period and compare it with the preset distance threshold; If the distance data of the recording object is greater than or equal to the distance threshold, the long-distance sound pickup mode information is obtained and recording is performed through the preset first channel; If the distance data of the recording object is less than the distance threshold, the close-range sound pickup mode information is obtained and recording is performed through the preset second channel.
[0011] In a second aspect, the present application provides a camera adaptive adjustment system, the system comprising: a memory and a processor, the memory comprising a program of a camera adaptive adjustment method, the program of the camera adaptive adjustment method being executed by the processor to implement the following steps: Obtain camera recorded images within a preset time period for preprocessing to obtain optimized recorded images; Acquire a camera recorded image data set corresponding to the optimized recorded image and extract recorded image feature data, including image horizontality data and image clarity data; Comparing the image level data with a preset level threshold to obtain level correction information; Comparing the image clarity data with a preset clarity threshold to obtain clarity adjustment information; The distance data of the recording object within the preset time period is obtained for processing, the sound pickup pattern information is obtained, and the recording is performed through the corresponding sound pickup channel.
[0012] Among them, in the camera adaptive adjustment system described in the present application, obtaining the optimized recorded image is specifically: Obtain the camera recorded images within a preset time period and perform region segmentation to obtain multiple sub-region images; Obtaining brightness values of the multiple sub-region images and comparing them with a preset brightness threshold to obtain a brightness deviation rate; comparing the brightness deviation rate with a preset brightness deviation rate threshold; If the brightness deviation rate is greater than or equal to the brightness deviation rate threshold, the image dark information is sent; If the brightness deviation rate is less than the brightness deviation rate threshold, an optimized recorded image is obtained.
[0013] Among them, in the camera adaptive adjustment system described in the present application, the obtaining of horizontal correction information is specifically: Comparing the image level data with a preset level threshold to obtain a level deviation rate; comparing the levelness deviation rate with a preset levelness deviation rate threshold; If the level deviation rate is greater than or equal to a preset level deviation rate threshold, obtaining level correction information; If the level deviation rate is less than the preset level deviation rate threshold, the level information is sent.
[0014] Among them, in the camera adaptive adjustment system described in the present application, the obtaining of clarity adjustment information is specifically: Comparing the image clarity data with a preset first clarity threshold and a preset second clarity threshold respectively, wherein the first clarity threshold is less than the second clarity threshold; If the image definition data is less than a first definition threshold, obtaining definition adjustment information; If the image definition data is greater than or equal to the first definition threshold and less than or equal to the second definition threshold, sending good image quality information; If the image clarity data is greater than the second clarity threshold, high-definition image quality information is sent.
[0015] In a third aspect, the present application also provides a computer-readable storage medium, which includes a camera adaptive adjustment method program. When the camera adaptive adjustment method program is executed by a processor, the steps of a camera adaptive adjustment method as described in any one of the above items are implemented.
[0016] As can be seen from the above, the camera adaptive adjustment method, system and medium provided by the embodiment of the present application obtain the camera recorded image within a preset time period for preprocessing to obtain an optimized recorded image; obtain the camera recorded image data set corresponding to the optimized recorded image and extract the recorded image feature data, including image level data and image clarity data. According to the image level data, the horizontal correction information is obtained by comparing with the preset horizontal threshold; according to the image clarity data, the clarity adjustment information is obtained by comparing with the preset clarity threshold. The recording object distance data within the preset time period is obtained for processing, the sound pickup mode information is obtained, and the recording is performed through the corresponding sound pickup channel. The present application first optimizes the image to improve the overall quality of the image, can automatically obtain the horizontal correction information, avoid image tilt, improve the viewing experience, and can also automatically adjust the image clarity to ensure that the image details are clear and discernible, and automatically select the corresponding sound pickup mode and recording channel according to different recording distances, which can not only improve the recording quality, but also ensure that clear sound can be captured at different distances. The automated processing reduces the need for manual intervention, significantly improves the efficiency and accuracy of the recording system, and reduces labor costs.
[0017] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the embodiments of the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 A flowchart of a camera adaptive adjustment method provided in an embodiment of the present application; Figure 2 A flowchart of a camera adaptive adjustment method for obtaining an optimized recorded image provided in an embodiment of the present application; Figure 3 A flowchart of obtaining horizontal correction information of a camera adaptive adjustment method provided in an embodiment of the present application; Figure 4 A flowchart of obtaining clarity adjustment information of a camera adaptive adjustment method provided in an embodiment of the present application; Figure 5 A flowchart of obtaining sound pickup pattern information of a camera adaptive adjustment method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0020] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0021] It should be noted that similar numbers and letters represent similar items in the following figures, so once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance. It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0022] Please refer to Figure 1 , Figure 1 1 is a flow chart of a camera adaptive adjustment method in some embodiments of the present application. The camera adaptive adjustment method is used in a terminal device, such as a computer, a mobile phone terminal, etc. The camera adaptive adjustment method comprises the following steps: S101, obtaining camera recorded images within a preset time period for preprocessing to obtain optimized recorded images; S102, obtaining a camera recorded image data set corresponding to the optimized recorded image and extracting recorded image feature data, including image levelness data and image clarity data; S103, obtaining horizontal correction information according to the image horizontality data and a preset horizontality threshold; S104, obtaining clarity adjustment information according to the image clarity data and a preset clarity threshold; S105: Acquire the distance data of the recording object within the preset time period for processing, obtain the sound pickup pattern information, and record the sound through the corresponding sound pickup channel.
[0023] Among them, the present application can obtain an optimized recorded image by obtaining a camera recorded image within a preset time period for regional segmentation and adjusting the brightness of the sub-region image; obtain a camera recorded image data set corresponding to the optimized recorded image and extract recorded image feature data, including image level data and image clarity data. According to the image level data, the horizontal correction information is obtained by comparing it with the preset horizontal threshold; according to the image clarity data, the clarity adjustment information is obtained by comparing it with the preset clarity threshold. The recording object distance data within the preset time period is obtained for processing, the sound pickup mode information is obtained, and the recording is performed through the corresponding sound pickup channel. The present application first optimizes the image to improve the overall quality of the image, and can automatically obtain the horizontal correction information to avoid image tilt and improve the viewing experience. It can also automatically adjust the image clarity to ensure that the image details are clear and discernible. According to different recording distances, the corresponding sound pickup mode and recording channel are automatically selected, which can not only improve the recording quality, but also ensure that clear sound can be captured at different distances. Automated processing reduces the need for manual intervention, significantly improves the efficiency and accuracy of the recording system, and reduces labor costs.
[0024] Please refer to Figure 2 , Figure 2 1 is a flow chart of obtaining an optimized recorded image in a camera adaptive adjustment method in some embodiments of the present application. According to an embodiment of the present invention, obtaining the optimized recorded image is specifically: S201, acquiring a camera recorded image within a preset time period and performing region segmentation to obtain a plurality of sub-region images; S202, obtaining brightness values of the multiple sub-region images and comparing them with a preset brightness threshold to obtain a brightness deviation rate; S203, comparing the brightness deviation rate with a preset brightness deviation rate threshold; S204, if the brightness deviation rate is greater than or equal to the brightness deviation rate threshold, sending the image dark information; S205: If the brightness deviation rate is less than the brightness deviation rate threshold, an optimized recorded image is obtained.
[0025] Among them, in order to optimize the recorded image as a whole, the camera recorded image within a preset time period is obtained and the region is divided to obtain multiple sub-region images, the brightness values of the multiple sub-region images are obtained and compared with a preset brightness threshold, and the brightness deviation rate is obtained. The brightness deviation rate is compared with the preset brightness deviation rate threshold. If the brightness deviation rate is greater than or equal to the brightness deviation rate threshold, the image dark information is sent, including image data, timestamp, sub-region position and other information, and the image brightness is adjusted at the same time; if the brightness deviation rate is less than the brightness deviation rate threshold, an optimized recorded image is obtained.
[0026] Please refer to Figure 3 , Figure 3 1 is a flow chart of obtaining horizontal correction information of a camera adaptive adjustment method in some embodiments of the present application. According to an embodiment of the present invention, obtaining horizontal correction information is specifically: S301, comparing the image level data with a preset level threshold to obtain a level deviation rate; S302, comparing the levelness deviation rate with a preset levelness deviation rate threshold; S303, if the level deviation rate is greater than or equal to a preset level deviation rate threshold, obtaining level correction information; S304: If the levelness deviation rate is less than a preset levelness deviation rate threshold, send level information.
[0027] Among them, in order to maintain the horizontal shooting and recording of the camera, the image horizontality data is compared with the preset horizontality threshold to obtain the horizontality deviation rate, and compared with the preset horizontality deviation rate threshold. If the horizontality deviation rate is greater than or equal to the preset horizontality deviation rate threshold, horizontal correction information is obtained, including correction parameters (such as rotation angle), correction method or other operations that need to be performed; if the horizontality deviation rate is less than the preset horizontality deviation rate threshold, horizontal information is sent, indicating that the image is sufficiently horizontal, or the current horizontality is within an acceptable range and no further correction is required.
[0028] Please refer to Figure 4 , Figure 4 1 is a flow chart of obtaining definition adjustment information of a camera adaptive adjustment method in some embodiments of the present application. According to an embodiment of the present invention, obtaining definition adjustment information is specifically: S401, comparing the image clarity data with a preset first clarity threshold and a preset second clarity threshold, respectively, the first clarity threshold being smaller than the second clarity threshold; S402: if the image definition data is less than a first definition threshold, obtaining definition adjustment information; S403: If the image definition data is greater than or equal to the first definition threshold and less than or equal to the second definition threshold, send good image quality information; S404: If the image definition data is greater than a second definition threshold, high-definition image quality information is sent.
[0029] In order to meet the clarity of the recorded image, the image clarity data is compared with the preset first clarity threshold and the second clarity threshold, and the first clarity threshold is less than the second clarity threshold. If the image clarity data is less than the first clarity threshold, the clarity adjustment information is obtained, including adjustment parameters (such as sharpening intensity, contrast, etc.) or recommended image processing algorithms; if the image clarity data is greater than or equal to the first clarity threshold and less than or equal to the second clarity threshold, the excellent image quality information is sent to record and notify the current image quality status; if the image clarity data is greater than the second clarity threshold, the high-definition image quality information is sent to record and notify the current image quality status.
[0030] Please refer to Figure 5 , Figure 5 1 is a flowchart of obtaining sound pickup pattern information of a camera adaptive adjustment method in some embodiments of the present application. According to an embodiment of the present invention, obtaining the sound pickup pattern information and recording through the corresponding sound pickup channel is specifically: S501, obtaining the distance data of the recording object within the preset time period and comparing it with a preset distance threshold; S502: If the distance data of the recording object is greater than or equal to the distance threshold, obtain long-distance sound pickup mode information and record through a preset first channel; S503: If the distance data of the recording object is less than the distance threshold, obtain the close-range sound pickup mode information and perform recording through the preset second channel.
[0031] Among them, in order to improve production efficiency, the distance data of the recording object within the preset time period is obtained and compared with the preset distance threshold. If the distance data of the recording object is greater than or equal to the distance threshold, the long-distance pickup mode information is obtained and recording is performed through the preset first channel; if the distance data of the recording object is less than the distance threshold, the close-range pickup mode information is obtained and recording is performed through the preset second channel. The MIC sound reception sensitivity of different channels is different, which can not only ensure effective long-distance sound pickup, but also avoid close-range howling.
[0032] According to an embodiment of the present invention, it also includes: Acquire the monitoring information of sound pickup parameters within a preset time period, and extract the sound clarity data, sound fullness data and sound intensity data; Processing the sound quality clarity data, the sound quality fullness data and the sound intensity data through a preset sound quality evaluation model to obtain a sound pickup quality index; Comparing the sound pickup quality index with a preset quality index threshold to obtain a quality deviation rate; If the quality deviation rate is greater than or equal to the preset quality deviation rate threshold, a poor sound quality message is sent; If the quality deviation rate is less than the preset quality deviation rate threshold, a good sound quality message is sent; The calculation formula of the sound quality evaluation model is: ; in, is the sound pickup quality index, They are sound clarity data, sound fullness data and sound intensity data. is the preset characteristic coefficient (the characteristic coefficient is obtained by querying the preset sound quality database).
[0033] Among them, in order to improve the sound pickup effect and sound quality, the sound pickup parameter monitoring information within the preset time period is obtained and the sound quality clarity data, sound quality fullness data and sound intensity data are extracted. The sound quality clarity data reflects the detail expression ability of the sound signal. The sound with high clarity can clearly present the details of the sound and distinguish different sound elements; the sound quality fullness data refers to the degree of thickness and roundness of the sound; the sound intensity data is a measure of the strength of the sound, usually in decibels (dB). The sound with moderate loudness can ensure that the audience listens at a comfortable volume, while avoiding the sound being too small to be unclear or the sound being too loud to cause ear discomfort. Then, it is processed through the preset sound quality evaluation model to obtain the sound pickup quality index, which can reflect the overall sound pickup quality effect of the camera. Then, the sound pickup quality index is compared with the preset quality index threshold to obtain the quality deviation rate. If the quality deviation rate is greater than or equal to the preset quality deviation rate threshold, the sound quality is poor. Information is sent; if the quality deviation rate is less than the preset quality deviation rate threshold, the sound quality is good. Information is sent.
[0034] The present invention also discloses a camera adaptive adjustment system, comprising a memory and a processor, wherein the memory comprises a camera adaptive adjustment method program, and when the camera adaptive adjustment method program is executed by the processor, the following steps are implemented: Obtain camera recorded images within a preset time period for preprocessing to obtain optimized recorded images; S102, obtaining a camera recorded image data set corresponding to the optimized recorded image and extracting recorded image feature data, including image levelness data and image clarity data; S103, obtaining horizontal correction information according to the image horizontality data and a preset horizontality threshold; S104, obtaining clarity adjustment information according to the image clarity data and a preset clarity threshold; S105: Acquire the distance data of the recording object within the preset time period for processing, obtain the sound pickup pattern information, and record the sound through the corresponding sound pickup channel.
[0035] Among them, the present application can obtain an optimized recorded image by obtaining a camera recorded image within a preset time period for regional segmentation and adjusting the brightness of the sub-region image; obtain a camera recorded image data set corresponding to the optimized recorded image and extract recorded image feature data, including image level data and image clarity data. According to the image level data, the horizontal correction information is obtained by comparing it with the preset horizontal threshold; according to the image clarity data, the clarity adjustment information is obtained by comparing it with the preset clarity threshold. The recording object distance data within the preset time period is obtained for processing, the sound pickup mode information is obtained, and the recording is performed through the corresponding sound pickup channel. The present application first optimizes the image to improve the overall quality of the image, and can automatically obtain the horizontal correction information to avoid image tilt and improve the viewing experience. It can also automatically adjust the image clarity to ensure that the image details are clear and discernible. According to different recording distances, the corresponding sound pickup mode and recording channel are automatically selected, which can not only improve the recording quality, but also ensure that clear sound can be captured at different distances. Automated processing reduces the need for manual intervention, significantly improves the efficiency and accuracy of the recording system, and reduces labor costs.
[0036] Please refer to Figure 2 , Figure 2 1 is a flow chart of obtaining an optimized recorded image in a camera adaptive adjustment method in some embodiments of the present application. According to an embodiment of the present invention, obtaining the optimized recorded image is specifically: S201, acquiring a camera recorded image within a preset time period and performing region segmentation to obtain a plurality of sub-region images; S202, obtaining brightness values of the multiple sub-region images and comparing them with a preset brightness threshold to obtain a brightness deviation rate; S203, comparing the brightness deviation rate with a preset brightness deviation rate threshold; S204, if the brightness deviation rate is greater than or equal to the brightness deviation rate threshold, sending the image dark information; S205: If the brightness deviation rate is less than the brightness deviation rate threshold, an optimized recorded image is obtained.
[0037] Among them, in order to optimize the recorded image as a whole, the camera recorded image within a preset time period is obtained and the region is divided to obtain multiple sub-region images, the brightness values of the multiple sub-region images are obtained and compared with a preset brightness threshold, and the brightness deviation rate is obtained. The brightness deviation rate is compared with the preset brightness deviation rate threshold. If the brightness deviation rate is greater than or equal to the brightness deviation rate threshold, the image dark information is sent, including image data, timestamp, sub-region position and other information, and the image brightness is adjusted at the same time; if the brightness deviation rate is less than the brightness deviation rate threshold, an optimized recorded image is obtained.
[0038] Please refer to Figure 3 , Figure 3 1 is a flow chart of obtaining horizontal correction information of a camera adaptive adjustment method in some embodiments of the present application. According to an embodiment of the present invention, obtaining horizontal correction information is specifically: S301, comparing the image level data with a preset level threshold to obtain a level deviation rate; S302, comparing the levelness deviation rate with a preset levelness deviation rate threshold; S303, if the level deviation rate is greater than or equal to a preset level deviation rate threshold, obtaining level correction information; S304: If the levelness deviation rate is less than a preset levelness deviation rate threshold, send level information.
[0039] Among them, in order to maintain the horizontal shooting and recording of the camera, the image horizontality data is compared with the preset horizontality threshold to obtain the horizontality deviation rate, and compared with the preset horizontality deviation rate threshold. If the horizontality deviation rate is greater than or equal to the preset horizontality deviation rate threshold, horizontal correction information is obtained, including correction parameters (such as rotation angle), correction method or other operations that need to be performed; if the horizontality deviation rate is less than the preset horizontality deviation rate threshold, horizontal information is sent, indicating that the image is sufficiently horizontal, or the current horizontality is within an acceptable range and no further correction is required.
[0040] Please refer to Figure 4 , Figure 41 is a flow chart of obtaining definition adjustment information of a camera adaptive adjustment method in some embodiments of the present application. According to an embodiment of the present invention, obtaining definition adjustment information is specifically: S401, comparing the image clarity data with a preset first clarity threshold and a preset second clarity threshold, respectively, the first clarity threshold being smaller than the second clarity threshold; S402: if the image definition data is less than a first definition threshold, obtaining definition adjustment information; S403: If the image definition data is greater than or equal to the first definition threshold and less than or equal to the second definition threshold, send good image quality information; S404: If the image definition data is greater than a second definition threshold, high-definition image quality information is sent.
[0041] In order to meet the clarity of the recorded image, the image clarity data is compared with the preset first clarity threshold and the second clarity threshold, and the first clarity threshold is less than the second clarity threshold. If the image clarity data is less than the first clarity threshold, the clarity adjustment information is obtained, including adjustment parameters (such as sharpening intensity, contrast, etc.) or recommended image processing algorithms; if the image clarity data is greater than or equal to the first clarity threshold and less than or equal to the second clarity threshold, the excellent image quality information is sent to record and notify the current image quality status; if the image clarity data is greater than the second clarity threshold, the high-definition image quality information is sent to record and notify the current image quality status.
[0042] Please refer to Figure 5 , Figure 5 1 is a flowchart of obtaining sound pickup pattern information of a camera adaptive adjustment method in some embodiments of the present application. According to an embodiment of the present invention, obtaining the sound pickup pattern information and recording through the corresponding sound pickup channel is specifically: S501, obtaining the distance data of the recording object within the preset time period and comparing it with a preset distance threshold; S502: If the distance data of the recording object is greater than or equal to the distance threshold, obtain long-distance sound pickup mode information and record through a preset first channel; S503: If the distance data of the recording object is less than the distance threshold, obtain the close-range sound pickup mode information and perform recording through the preset second channel.
[0043] Among them, in order to improve production efficiency, the distance data of the recording object within the preset time period is obtained and compared with the preset distance threshold. If the distance data of the recording object is greater than or equal to the distance threshold, the long-distance pickup mode information is obtained and recording is performed through the preset first channel; if the distance data of the recording object is less than the distance threshold, the close-range pickup mode information is obtained and recording is performed through the preset second channel. The MIC sound reception sensitivity of different channels is different, which can not only ensure effective long-distance sound pickup, but also avoid close-range howling.
[0044] According to an embodiment of the present invention, it also includes: Acquire the monitoring information of sound pickup parameters within a preset time period, and extract the sound clarity data, sound fullness data and sound intensity data; Processing the sound quality clarity data, the sound quality fullness data and the sound intensity data through a preset sound quality evaluation model to obtain a sound pickup quality index; Comparing the sound pickup quality index with a preset quality index threshold to obtain a quality deviation rate; If the quality deviation rate is greater than or equal to the preset quality deviation rate threshold, a poor sound quality message is sent; If the quality deviation rate is less than the preset quality deviation rate threshold, a good sound quality message is sent; The calculation formula of the sound quality evaluation model is: ; in, is the sound pickup quality index, They are sound clarity data, sound fullness data and sound intensity data. is the preset characteristic coefficient (the characteristic coefficient is obtained by querying the preset sound quality database).
[0045] Among them, in order to improve the sound pickup effect and sound quality, the sound pickup parameter monitoring information within the preset time period is obtained and the sound quality clarity data, sound quality fullness data and sound intensity data are extracted. The sound quality clarity data reflects the detail expression ability of the sound signal. The sound with high clarity can clearly present the details of the sound and distinguish different sound elements; the sound quality fullness data refers to the degree of thickness and roundness of the sound; the sound intensity data is a measure of the strength of the sound, usually in decibels (dB). The sound with moderate loudness can ensure that the audience listens at a comfortable volume, while avoiding the sound being too small to be unclear or the sound being too loud to cause ear discomfort. Then, it is processed through the preset sound quality evaluation model to obtain the sound pickup quality index, which can reflect the overall sound pickup quality effect of the camera. Then, the sound pickup quality index is compared with the preset quality index threshold to obtain the quality deviation rate. If the quality deviation rate is greater than or equal to the preset quality deviation rate threshold, the sound quality is poor. Information is sent; if the quality deviation rate is less than the preset quality deviation rate threshold, the sound quality is good. Information is sent.
[0046] A third aspect of the present invention provides a computer-readable storage medium, which includes a camera adaptive adjustment method program. When the camera adaptive adjustment method program is executed by a processor, the steps of a camera adaptive adjustment method as described in any one of the above items are implemented.
[0047] The present invention discloses a camera adaptive adjustment method, system and medium, which obtains an optimized recorded image by obtaining a camera recorded image within a preset time period for preprocessing; obtains a camera recorded image data set corresponding to the optimized recorded image and extracts recorded image feature data, including image level data and image clarity data. According to the image level data, the horizontal correction information is obtained by comparing it with the preset horizontal threshold; according to the image clarity data, the clarity adjustment information is obtained by comparing it with the preset clarity threshold. The recording object distance data within the preset time period is obtained for processing, the sound pickup mode information is obtained, and the recording is performed through the corresponding sound pickup channel. The application first optimizes the image to improve the overall quality of the image, can automatically obtain the horizontal correction information, avoid image tilt, improve the viewing experience, and can also automatically adjust the image clarity to ensure that the image details are clear and discernible, and automatically selects the corresponding sound pickup mode and recording channel according to different recording distances, which can not only improve the recording quality, but also ensure that clear sound can be captured at different distances. The automated processing reduces the need for manual intervention, significantly improves the efficiency and accuracy of the recording system, and reduces labor costs. The sound quality clarity data, sound quality fullness data and sound intensity data are processed through a preset sound quality evaluation model to obtain a sound pickup quality index, which can be used to display the overall quality of the sound.
[0048] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0049] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0050] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0051] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories, random access memories, magnetic disks or optical disks, and other media that can store program codes.
[0052] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
Claims
1. A camera adaptive adjustment method, characterized in that: The following steps are involved: Obtain camera recorded images within a preset time period for preprocessing to obtain optimized recorded images; Acquire a camera recorded image data set corresponding to the optimized recorded image and extract recorded image feature data, including image horizontality data and image clarity data; Comparing the image level data with a preset level threshold to obtain level correction information; Comparing the image clarity data with a preset clarity threshold to obtain clarity adjustment information; The distance data of the recording object within the preset time period is obtained for processing, the sound pickup pattern information is obtained, and the recording is performed through the corresponding sound pickup channel.
2. A camera adaptive adjustment method according to claim 1, characterized in that: The obtaining of the optimized recorded image is specifically as follows: Obtain the camera recorded images within a preset time period and perform region segmentation to obtain multiple sub-region images; Obtaining brightness values of the multiple sub-region images and comparing them with a preset brightness threshold to obtain a brightness deviation rate; comparing the brightness deviation rate with a preset brightness deviation rate threshold; If the brightness deviation rate is greater than or equal to the brightness deviation rate threshold, the image dark information is sent; If the brightness deviation rate is less than the brightness deviation rate threshold, an optimized recorded image is obtained.
3. A camera adaptive adjustment method according to claim 2, characterized in that: The obtaining of the horizontal correction information is specifically as follows: Comparing the image level data with a preset level threshold to obtain a level deviation rate; comparing the levelness deviation rate with a preset levelness deviation rate threshold; If the level deviation rate is greater than or equal to a preset level deviation rate threshold, obtaining level correction information; If the level deviation rate is less than the preset level deviation rate threshold, the level information is sent.
4. A camera adaptive adjustment method according to claim 3, characterized in that: The obtaining of the definition adjustment information is specifically as follows: Comparing the image clarity data with a preset first clarity threshold and a preset second clarity threshold respectively, wherein the first clarity threshold is less than the second clarity threshold; If the image definition data is less than a first definition threshold, obtaining definition adjustment information; If the image definition data is greater than or equal to the first definition threshold and less than or equal to the second definition threshold, sending good image quality information; If the image clarity data is greater than the second clarity threshold, high-definition image quality information is sent.
5. A camera adaptive adjustment method according to claim 4, characterized in that: The obtaining of the sound pickup pattern information and recording through the corresponding sound pickup channel is specifically as follows: Acquire the distance data of the recorded object within the preset time period and compare it with the preset distance threshold; If the distance data of the recording object is greater than or equal to the distance threshold, the long-distance sound pickup mode information is obtained and recording is performed through the preset first channel; If the distance data of the recording object is less than the distance threshold, the close-range sound pickup mode information is obtained and recording is performed through the preset second channel.
6. A camera adaptive adjustment system, characterized in that: The invention comprises a memory and a processor, wherein the memory comprises a camera adaptive adjustment method program, and when the camera adaptive adjustment method program is executed by the processor, the following steps are implemented: Obtain camera recorded images within a preset time period for preprocessing to obtain optimized recorded images; Acquire a camera recorded image data set corresponding to the optimized recorded image and extract recorded image feature data, including image horizontality data and image clarity data; Comparing the image level data with a preset level threshold to obtain level correction information; Comparing the image clarity data with a preset clarity threshold to obtain clarity adjustment information; The distance data of the recording object within the preset time period is obtained for processing, the sound pickup pattern information is obtained, and the recording is performed through the corresponding sound pickup channel.
7. A camera adaptive adjustment system according to claim 6, characterized in that: The obtaining of the optimized recorded image is specifically as follows: Obtain the camera recorded images within a preset time period and perform region segmentation to obtain multiple sub-region images; Obtaining brightness values of the multiple sub-region images and comparing them with a preset brightness threshold to obtain a brightness deviation rate; comparing the brightness deviation rate with a preset brightness deviation rate threshold; If the brightness deviation rate is greater than or equal to the brightness deviation rate threshold, the image dark information is sent; If the brightness deviation rate is less than the brightness deviation rate threshold, an optimized recorded image is obtained.
8. A camera adaptive adjustment system according to claim 7, characterized in that: The obtaining of the horizontal correction information is specifically as follows: Comparing the image level data with a preset level threshold to obtain a level deviation rate; comparing the levelness deviation rate with a preset levelness deviation rate threshold; If the level deviation rate is greater than or equal to a preset level deviation rate threshold, obtaining level correction information; If the level deviation rate is less than the preset level deviation rate threshold, the level information is sent.
9. A camera adaptive adjustment system according to claim 8, characterized in that: The obtaining of the definition adjustment information is specifically as follows: Comparing the image clarity data with a preset first clarity threshold and a preset second clarity threshold respectively, wherein the first clarity threshold is less than the second clarity threshold; If the image definition data is less than a first definition threshold, obtaining definition adjustment information; If the image definition data is greater than or equal to the first definition threshold and less than or equal to the second definition threshold, sending good image quality information; If the image clarity data is greater than the second clarity threshold, high-definition image quality information is sent.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a camera adaptive adjustment method, system and medium program. When the camera adaptive adjustment method, system and medium program are executed by a processor, the steps of a camera adaptive adjustment method as described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Wireless zoom video monitoring system
CN111131789A
Video recording implementation method and device and electronic equipment
CN112165590A
Camera self-calibration method and device, camera equipment and vehicle
CN112653889A
Self-adaptive image processing method and system, electronic device and storage medium
CN116208862A
Self-adaptive adjustment method and system for facial image definition
CN116600195A