Camera picture management system based on image processing
Through the camera picture management system based on image processing, face recognition, scene recognition and quality evaluation technology are used to solve the problem of low efficiency of camera picture management in the existing technology, achieve efficient picture classification and storage, and improve management efficiency and Query accuracy.
Patent Information
- Application Number
- CN202410707689.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The efficiency of camera image management in the existing technology is low, making it difficult for users to obtain target images quickly and accurately.
A camera picture management system based on image processing is adopted, including a task module, an image processing module, a division module and a storage management module. It obtains picture information through face recognition, scene recognition and quality evaluation, divides pictures and builds a folder structure to achieve picture management. Efficient sorting and storage.
It improves the efficiency of camera image management and reduces the workload. Users can customize management according to actual needs and quickly and accurately query target images.
Smart Images

Figure CN118550878A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of picture management, in particular to a camera picture management system based on image processing. Background Art
[0002] Cameras are widely used in professional film and television production, news reporting, security monitoring, personal entertainment and other fields due to their superior performance. Cameras collect a large number of pictures, with high repetition and complex content, which makes it difficult to manage camera pictures.
[0003] In the prior art, when managing camera images, the management methods are very limited, and two methods are usually used. One is to store all images collected in the same period of time in the same folder and arrange them in order according to the time of image collection, and then name the folder with several keywords; the other is to store the same type of images in the same folder and name the folder with several keywords; for the images in the folder, the keywords are used to name them or the default order is used to name them.
[0004] The user obtains the target image according to the keywords in the folder name and the image name, but the keyword content in the folder name or the image name is limited, making it difficult for the user to quickly and accurately obtain the target image. Summary of the invention
[0005] The purpose of the present invention is to provide a camera picture management system based on image processing, which solves the technical problem of low efficiency of camera picture management in the prior art.
[0006] The present invention provides a camera picture management system based on image processing, the system comprising: Task module, image processing module, partitioning module, storage management module; A task module, which is used to respond to management needs and confirm management tasks; the management tasks include management scope, preset processing methods and division conditions; An image processing module, which is used to process the images within the management scope according to a preset processing method, obtain the image information corresponding to each image and name it according to a preset naming rule; the image information includes scene information, character information and image quality information; A division module, the division module is used to divide the pictures within the management scope according to the division conditions and the picture information to obtain a number of groups of classified pictures and classification structure information; the classification structure information includes the classification level, the number of categories at each level and the category name; A storage management module is used to construct a number of folders to store a number of groups of classified images in a one-to-one correspondence according to the classification architecture information, and output management results; the management results include folder architecture information and index information.
[0007] Furthermore, the division condition includes a plurality of sub-conditions and a priority of each sub-condition; the plurality of sub-conditions include a character sub-condition and a scene sub-condition; The character sub-condition includes multiple target characters and the character coreness of each target character; the scene sub-condition includes multiple target scenes; The preset processing method includes face recognition, scene recognition and quality evaluation.
[0008] Furthermore, the image processing module includes: A face recognition unit, the face recognition unit is used to perform face recognition on each picture within the management range, and obtain a number of target persons and the coreness of each target person in the corresponding picture as person information; A scene recognition unit, the scene recognition unit is used to recognize each picture within the management range to obtain a number of scene elements; based on the scene elements of each picture, confirm the scene information; The quality evaluation unit is used to evaluate the quality of each picture within the management scope and obtain picture quality information.
[0009] Furthermore, the face recognition unit performs face recognition on each picture within the management range, and obtains a number of target persons and the coreness of each target person in the corresponding picture, including: Perform face recognition on each person in the picture and mark the person frame; the person frame includes a target person frame and a non-target person frame; Based on a plurality of character frames, determining an arrangement type of characters in the picture; the arrangement type includes a first type, a second type, and a third type; Based on the arrangement type of the characters and the center coordinates of each target character frame, the coreness of each target character frame in the image is determined.
[0010] Furthermore, based on the arrangement type of the characters and the center coordinates of each target character frame, the coreness of each target character frame in the image is determined, including: Each arrangement type is provided with a corresponding coreness query table; According to the position data of the target person frame, the coreness of the target person frame is obtained by querying in the corresponding coreness query table.
[0011] Furthermore, the division modules include: A character segmentation unit, the character segmentation unit being used to segment pictures within a management range according to character sub-conditions to obtain a first segmentation result; A scene division unit, the scene division unit being used to divide the pictures within the management range according to the scene sub-conditions to obtain a second division result; A comprehensive division unit is used to comprehensively divide the first division result and the second division result according to the priorities of the character sub-condition and the scene sub-condition, and obtain several groups of classified pictures and classification architecture information.
[0012] Furthermore, the storage management module includes: A folder construction unit, the folder construction unit is used to construct a plurality of folders according to the classification structure information and obtain the folder structure information; A picture storage unit, the picture storage unit is used to store each picture within the management range into a corresponding folder and sort the pictures in each folder; A naming unit, the naming unit is used to obtain a picture name of each picture according to the picture information and a preset naming rule; the naming unit is also used to obtain a folder name of each folder according to the folder structure information and the names of a number of pictures in the folder; A management unit, wherein the management unit is used to obtain index information according to the name of each folder and the picture information in the folder.
[0013] Furthermore, the picture storage unit sorts the pictures in each folder, including: Based on the acquisition time, quality evaluation and coreness of the target person of each picture in the same folder, obtain the ranking score of each picture; Sort the images in a folder based on the ranking score of each image.
[0014] Furthermore, the management range includes at least one of a target time range, a target action range, and a target selection range.
[0015] Furthermore, the target action range includes a start action and an end action.
[0016] Compared with the prior art, the present invention has the following beneficial effects: In this embodiment, the task module is set to respond to management needs and confirm management tasks; it is convenient for users to perform customized management of camera images according to actual needs; the image processing module is set to process images and obtain image information as the basis for the division of the division module; the division module is set to divide the images within the management scope according to the division conditions to obtain several groups of classified images, so that the efficiency of camera image management is improved; several groups of folders are constructed through the storage management module to store several groups of classified images one by one, and the folder architecture information and index information are obtained as the management results, which is convenient for fast and accurate query of target images, further improving the management efficiency of the camera and reducing the workload. The technical problem of low efficiency of camera image management in the prior art is solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a principle block diagram of the present invention. DETAILED DESCRIPTION
[0018] like Figure 1 As shown, a camera picture management system based on image processing, the system includes: Task module, image processing module, partitioning module, storage management module; A task module, which is used to respond to management needs and confirm management tasks; the management tasks include management scope, preset processing methods and division conditions; An image processing module, which is used to process the images within the management scope according to a preset processing method, obtain the image information corresponding to each image and name it according to a preset naming rule; the image information includes scene information, character information and image quality information; A division module, the division module is used to divide the pictures within the management scope according to the division conditions and the picture information to obtain a number of groups of classified pictures and classification structure information; the classification structure information includes the classification level, the number of categories at each level and the category name; A storage management module is used to construct a number of folders to store a number of groups of classified images in a one-to-one correspondence according to the classification architecture information, and output management results; the management results include folder architecture information and index information.
[0019] The specific implementation process of this embodiment includes: In this embodiment, the task module is set to respond to management needs and confirm management tasks; it is convenient for users to perform customized management of camera images according to actual needs; the image processing module is set to process images and obtain image information as the basis for the division of the division module; the division module is set to divide the images within the management scope according to the division conditions to obtain several groups of classified images, so that the efficiency of camera image management is improved; several groups of folders are constructed through the storage management module to store several groups of classified images one by one, and the folder architecture information and index information are obtained as the management results, which is convenient for fast and accurate query of target images, further improving the management efficiency of the camera and reducing the workload. The technical problem of low efficiency of camera image management in the prior art is solved.
[0020] In this embodiment, after receiving the management requirements of the user terminal, the task module provides several options for the user terminal to choose according to the management scope and division conditions; according to the division conditions, the preset processing method is confirmed; the user terminal includes a smart phone, a tablet computer and a camera.
[0021] In this embodiment, the management scope includes at least one of a target time range, a target action range, and a target selection range. The target action range includes a start action and an end action. It should be noted that in this embodiment, the management scope may include pictures that have been captured by the camera. For example, the management scope of a management task includes several selected pictures and pictures in several selected folders; the management scope may also include pictures that the camera is capturing or not capturing. For example, the management scope of a management task includes a target time range, and the target time range is all pictures captured by the camera between 8:00 and 18:00 the next day; the management scope of another management task includes a target action range, and the start action includes turning on the camera, and the end action includes turning off the camera. The start action or the end action may also be a custom action constituted by a target button on the camera; the target button includes a physical button and a virtual button.
[0022] In this embodiment, the division condition includes a plurality of sub-conditions and a priority of each sub-condition; the plurality of sub-conditions include a character sub-condition and a scene sub-condition; The priority of the sub-condition determines whether the person or scene in the picture is used as the classification subject; when the priority of the person sub-condition is higher than the scene sub-condition, the person is used as the classification subject; when the priority of the scene sub-condition is higher than the person-scene sub-condition, the scene is used as the classification subject.
[0023] The character sub-condition includes multiple target characters and the character coreness of each target character; the scene sub-condition includes multiple target scenes; In this embodiment, the greater the character coreness, the more important the position of the target character in the picture; the character coreness of the target character is set as a division condition, so that the pictures that meet the requirements of the target character are obtained more accurately. For example, among several photos of an event, if you want to obtain several pictures of the target character, you can customize the character coreness of the target character; in some embodiments, you can also adjust the character coreness of each target character according to the number of pictures in the folder corresponding to the target character in the management result; when the number of pictures is less than the lower limit of the set number, the character coreness of the target character is lowered; when the number of pictures is greater than the upper limit of the set number, the character coreness of the target character is increased.
[0024] The preset processing method includes face recognition, scene recognition and quality evaluation.
[0025] According to another embodiment of the present invention, the image processing module includes: A face recognition unit, the face recognition unit is used to perform face recognition on each picture within the management range, and obtain a number of target persons and the coreness of each target person in the corresponding picture as person information; A scene recognition unit, the scene recognition unit is used to recognize each picture within the management range to obtain a number of scene elements; based on the scene elements of each picture, confirm the scene information; The quality evaluation unit is used to evaluate the quality of each picture within the management scope and obtain picture quality information. In this embodiment, the picture quality information includes clarity.
[0026] The specific implementation process of this embodiment includes: In this embodiment, the face recognition unit performs face recognition on each picture within the management range, and obtains a number of target persons and the coreness of each target person in the corresponding picture, including: Perform face recognition on each person in the picture and mark the person frame; the person frame includes a target person frame and a non-target person frame; In this embodiment, the character frame includes a head frame, and the head frame is marked on the head of the person in the picture when performing face recognition; Based on a number of character frames, confirm the arrangement type of the characters in the picture; the arrangement types include a first type, a second type and a third type; the first type includes a multi-person multi-row type; the second type includes a small number of people multi-row type; the third type includes a small number of rows type and an irregular type. In this embodiment, multi-person multi-row means that the number of character arrangement rows is greater than the set number of rows, and the number of people in each row is greater than the set number of people; the small number of people multi-row type includes that the number of character arrangement rows is greater than the set number of rows, and the number of people in each row is less than or equal to the set number of people; the small number of rows type includes that the number of task arrangement rows is less than or equal to the set number of rows, and / or multiple people are arranged irregularly. In this embodiment, the set number of rows includes 3 rows; the set number of people includes 5 people; Based on the arrangement type of the characters and the center coordinates of each target character frame, the coreness of each target character frame in the image is determined.
[0027] In this embodiment, obtaining the number of rows of characters in the picture includes: Based on the upper edge of the uppermost head frame and the lower edge of the lowermost head frame among the head frames in the picture, the distribution range of the head frames is determined; the length of the distribution range is the same as the length of the picture.
[0028] According to the average width of the head frame, the distribution range of the head frame in the image is evenly divided into several equal parts along the width direction to obtain several sub-ranges; The total number of center points of the head frames in each sub-range is obtained. When the total number of center points of the head frames in a sub-range is greater than the set number of center points, there is a person row in the sub-range; thereby confirming the number of person rows in the picture and the number of people in each row. In this embodiment, the set number of center points includes 2.
[0029] In this embodiment, determining that the arrangement type of people in the picture is an irregular arrangement of multiple people includes: Determine whether the number of character frames in the picture is greater than a preset number; If so, count the number of people in each row from top to bottom, obtain a set of number data and calculate the variance; when the variance is greater than the set variance, it is determined that the type of people in the picture is multiple people arranged irregularly.
[0030] In each arrangement type, the different key positions in the picture lead to different evaluation criteria for the coreness of the characters. For example, when the arrangement type of characters in the picture is multi-person and multi-row, the coreness of the character in the middle of the bottom row is the largest, while the coreness of the character at the edge of the top row is the smallest.
[0031] When the arrangement type of people in the picture is a few people and many rows, the coreness of the people in the middle row is higher; When the arrangement type of people in the picture is a few-line type, the closer the person is to the center of the picture, the greater his or her core degree.
[0032] It should be noted that when there is only one target person in the picture, the coreness is directly equal to the upper limit value.
[0033] In this embodiment, based on the arrangement type of the characters and the center coordinates of each target character frame, determining the coreness of each target character frame in the image includes: Each arrangement type is provided with a corresponding coreness query table; According to the position data of the target person frame, the coreness of the target person frame is obtained by querying in the corresponding coreness query table.
[0034] In this embodiment, a core degree query table is set corresponding to each arrangement type, and the position data of the target character frame is obtained by looking up the table. When the character arrangement type is the first type or the second type, the position data includes row coordinates and column coordinates; for example, there are 4 rows of characters in a picture, from bottom to top, 6 people in the first row, 7 people in the second row, 6 people in the third row, and 7 people in the fourth row. Starting from the middle position of the first row, the position data of the target character frame on the right side of the middle of the first row is (1, 1), the position data of the target character frame on the left side of the middle of the first row is (1, -1), and the position data of the target character frame in the middle position of the second row is (2, 0).
[0035] It should be noted that when the character arrangement type is the third type; a rectangular coordinate system is constructed with the center of the picture as the coordinate origin, a straight line passing through the center of the picture in the vertical direction as the Y-axis, and a straight line passing through the center of the picture in the horizontal direction as the X-axis; the position data includes: the coordinates of the center point of the target character frame in the rectangular coordinate system.
[0036] In this embodiment, the character coreness ranges from 0 to 1, including 1; the greater the character coreness, the more central the character's position.
[0037] According to another embodiment of the present invention, the partitioning module includes: A character segmentation unit, the character segmentation unit being used to segment pictures within a management range according to character sub-conditions to obtain a first segmentation result; A scene division unit, the scene division unit being used to divide the pictures within the management range according to the scene sub-conditions to obtain a second division result; A comprehensive division unit is used to comprehensively divide the first division result and the second division result according to the priorities of the character sub-condition and the scene sub-condition, and obtain several groups of classified pictures and classification architecture information.
[0038] The specific implementation process of this embodiment includes: The priority of the sub-conditions determines whether the person or scene in the picture is used as the classification subject; when the priority of the person sub-condition is higher than the scene sub-condition, the person is used as the classification subject; based on the first division result, the pictures of each target person are further divided according to the second division result.
[0039] When the priority of the scene sub-condition is higher than that of the person scene sub-condition, the scene is taken as the classification subject. At this time, based on the second division result, the pictures of each target scene are further divided according to the first division result. According to the division process and results, the classification architecture information is confirmed.
[0040] According to another embodiment of the present invention, the storage management module includes: A folder construction unit, the folder construction unit is used to construct a plurality of folders according to the classification structure information and obtain the folder structure information; A picture storage unit, the picture storage unit is used to store each picture within the management range into a corresponding folder and sort the pictures in each folder; A naming unit, the naming unit is used to obtain a picture name of each picture according to the picture information and a preset naming rule; the naming unit is also used to obtain a folder name of each folder according to the folder structure information and the names of a number of pictures in the folder; A management unit, wherein the management unit is used to obtain index information according to the name of each folder and the picture information in the folder.
[0041] The specific implementation process of this embodiment includes: In this embodiment, the preset naming rule includes a name format, and in this embodiment, the name format is character name-scene name-serial number; the folder name includes the folder location, scene name, character name, and the number of subfolders or pictures therein.
[0042] In this embodiment, the picture storage unit sorts the pictures in each folder, including: Based on the acquisition time, quality evaluation and coreness of the target person of each picture in the same folder, obtain the ranking score of each picture; Sort the images in a folder based on the ranking score of each image.
[0043] The acquisition time of each image is normalized and then forward processed so that the value between (0, 1) represents the acquisition time, and the larger the value, the earlier the acquisition time; it should be noted that, in this embodiment, the quality evaluation of the image is between (0, 1), and the larger the value, the higher the quality of the image.
[0044] In this embodiment, the calculation formula of the ranking score includes: ; Among them, PXF is the ranking score; SJ is the acquisition time; ZL is the quality evaluation; HXD is the core degree; α, β and γ are all proportional coefficients.
[0045] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A camera picture management system based on image processing, Features: The system comprises: Task module, image processing module, partitioning module, storage management module; A task module, which is used to respond to management needs and confirm management tasks; the management tasks include management scope, preset processing methods and division conditions; An image processing module, which is used to process the images within the management scope according to a preset processing method, obtain the image information corresponding to each image and name it according to a preset naming rule; the image information includes scene information, character information and image quality information; A division module, the division module is used to divide the pictures within the management scope according to the division conditions and the picture information to obtain a number of groups of classified pictures and classification structure information; the classification structure information includes the classification level, the number of categories at each level and the category name; A storage management module is used to construct a number of folders to store a number of groups of classified images in a one-to-one correspondence according to the classification architecture information, and output management results; the management results include folder architecture information and index information.
2. A camera picture management system based on image processing as claimed in claim 1, Features: The division condition includes a plurality of sub-conditions and the priority of each sub-condition; the plurality of sub-conditions include character sub-conditions and scene sub-conditions; The character sub-condition includes multiple target characters and the character coreness of each target character; the scene sub-condition includes multiple target scenes; The preset processing method includes face recognition, scene recognition and quality evaluation.
3. A camera picture management system based on image processing as claimed in claim 2, Features: The image processing module includes: A face recognition unit, the face recognition unit is used to perform face recognition on each picture within the management range, and obtain a number of target persons and the coreness of each target person in the corresponding picture as person information; A scene recognition unit, the scene recognition unit is used to recognize each picture within the management range to obtain a number of scene elements; based on the scene elements of each picture, confirm the scene information; The quality evaluation unit is used to evaluate the quality of each picture within the management scope and obtain picture quality information.
4. A camera picture management system based on image processing as claimed in claim 3, Features: The face recognition unit performs face recognition on each picture within the management range, and obtains a number of target persons and the coreness of each target person in the corresponding picture, including: Perform face recognition on each person in the picture and mark the person frame; the person frame includes a target person frame and a non-target person frame; Based on a plurality of character frames, determining an arrangement type of characters in the picture; the arrangement type includes a first type, a second type, and a third type; Based on the arrangement type of the characters and the center coordinates of each target character frame, the coreness of each target character frame in the image is determined.
5. A camera picture management system based on image processing as claimed in claim 4, Features: Based on the arrangement type of the characters and the center coordinates of each target character frame, determine the coreness of each target character frame in the image, including: Each arrangement type is provided with a corresponding coreness query table; According to the position data of the target person frame, the coreness of the target person frame is obtained by querying in the corresponding coreness query table.
6. A camera picture management system based on image processing as claimed in claim 3, Features: The division modules include: A character segmentation unit, the character segmentation unit being used to segment pictures within a management range according to character sub-conditions to obtain a first segmentation result; A scene division unit, the scene division unit being used to divide the pictures within the management range according to the scene sub-conditions to obtain a second division result; A comprehensive division unit is used to comprehensively divide the first division result and the second division result according to the priorities of the character sub-condition and the scene sub-condition, and obtain several groups of classified pictures and classification architecture information.
7. A camera picture management system based on image processing as claimed in claim 6, Features: The storage management module includes: A folder construction unit, the folder construction unit is used to construct a plurality of folders according to the classification structure information and obtain the folder structure information; A picture storage unit, the picture storage unit is used to store each picture within the management range into a corresponding folder and sort the pictures in each folder; A naming unit, the naming unit is used to obtain a picture name of each picture according to the picture information and a preset naming rule; the naming unit is also used to obtain a folder name of each folder according to the folder structure information and the names of a number of pictures in the folder; A management unit, wherein the management unit is used to obtain index information according to the name of each folder and the picture information in the folder.
8. A camera picture management system based on image processing as claimed in claim 7, Features: The picture storage unit sorts a number of pictures in each folder, including: Based on the acquisition time, quality evaluation and coreness of the target person of each picture in the same folder, obtain the ranking score of each picture; Sort the images in a folder based on the ranking score of each image.
9. A camera picture management system based on image processing as claimed in claim 1, Features: The management range includes at least one of a target time range, a target action range, and a target selection range.
10. A camera picture management system based on image processing as claimed in claim 9, Features: The target action range includes a start action and an end action.
Citation Information
Patent Citations
Individual-photo-based human network correlation analysis and management system and method
CN103412951A
Method and device for recognizing scenes
CN103617432A
Image classification method based on electronic equipment and electronic equipment
CN105824862A
Picture naming method and terminal
CN106339479A
Photograph classification method and classification system
CN107506735A
