CN-116452665-B - Intelligent stamping method, device, system, equipment and storage medium
Abstract
The present disclosure relates to the field of artificial intelligence technologies, and in particular, to an intelligent stamping method, apparatus, system, device, and storage medium. The method comprises the steps of determining an optical detection range corresponding to the size of a seal, wherein the optical detection range comprises a plurality of light receiving elements, scanning all areas of a to-be-sealed file positioned below the light receiving elements by utilizing all the light receiving elements in the optical detection range to obtain light quantity values of the areas, taking the areas as sealing areas under the condition that the light quantity values meet the light quantity reference value requirement of the to-be-sealed file, and sealing the seal in the sealing areas. According to the embodiment of the specification, the method for identifying the area suitable for stamping on the file to be stamped by utilizing the optical detection is realized, and compared with the traditional method for stamping at the fixed position, the method for identifying the area suitable for stamping on the file to be stamped can reduce or avoid overlapping of the stamp on the paper and the original content, and improve the reference experience of a user on the file.
Inventors
- LIU JIN
Assignees
- 中国工商银行股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20230419
Claims (15)
- 1. An intelligent stamping method, which is characterized by comprising the following steps: determining an optical detection range corresponding to the size of the seal, wherein the optical detection range comprises a plurality of light receiving elements; Scanning all areas of the file to be stamped, which are positioned below the light receiving elements, by utilizing all the light receiving elements in the optical detection range to obtain light quantity values of all the areas; taking the area as a stamping area under the condition that the light quantity value meets the light quantity reference value requirement of the file to be stamped; stamping the seal in the stamping area; the light receiving elements are uniformly arranged in the optical detection range at intervals; the determining the optical detection range corresponding to the size of the seal further comprises: The method comprises the steps that on a light quantity detection part comprising a plurality of light receiving elements which are uniformly arranged at intervals, the number of the light receiving elements corresponding to the size of a seal is determined according to the size of the seal and the intervals of the light receiving elements, and the light quantity detection part is positioned above the seal surface of a file to be sealed; and taking the areas where the plurality of light receiving elements are uniformly arranged at intervals on the detection component as the optical detection range.
- 2. The method according to claim 1, wherein a detection area of all the light receiving elements on the light amount detection part is larger than or equal to an area of the document to be stamped; scanning each region of the document to be stamped by using all the light receiving elements in the optical detection range further comprises: and in the transverse direction or the longitudinal direction of the stamping file, the optical detection range is moved by taking the interval between two adjacent light receiving elements as a step length, and each area of the file to be stamped is scanned.
- 3. The method of claim 1, wherein calculating the light amount value corresponding to the optical detection range further comprises: the light quantity value is calculated according to the numerical value of each light receiving element.
- 4. A method according to claim 3, wherein calculating the light amount value from the value of each light receiving element further comprises: And calculating an average value of the numerical values of the light receiving elements, and taking the average value as the light quantity value.
- 5. The method of claim 1, wherein the step of calculating the light quantity reference value comprises: Scanning an area, which is positioned below the light receiving element and is not printed with content, in the file to be stamped by utilizing all the light receiving elements in the optical detection range to obtain a light quantity value of the area; The light quantity value of the area is taken as the light quantity reference value.
- 6. The method according to claim 1, wherein in the process of scanning each region of the document to be stamped by using all the light receiving elements in the optical detection range to obtain the light quantity value corresponding to each region, the method further comprises: Judging whether the light quantity value of the currently scanned area is larger than or equal to the light quantity reference value; if yes, taking the currently scanned area as the stamping area, stopping scanning other areas, and stamping the seal in the stamping area; If not, continuing to scan other areas of the file to be stamped; And if the light quantity value of each area of the file to be stamped is smaller than the light quantity reference value, taking the area corresponding to the maximum light quantity value as the stamping area.
- 7. The method of claim 6, wherein the method further comprises: scanning a preset preferential stamping area of a file to be stamped by utilizing all light receiving elements in the optical detection range to obtain a light quantity value corresponding to the preset preferential stamping area; And if the light quantity value corresponding to the preset preferential stamping area is larger than or equal to the light quantity reference value, taking the preset preferential stamping area as the stamping area, stopping scanning other areas, and stamping the stamp in the stamping area.
- 8. The method according to claim 1, wherein the document to be stamped comprises a plurality of documents to be stamped of the same size; The method further comprises the steps of: Calculating the ratio of the transverse dimension of the seal to the number of the files to be sealed, and taking the ratio as the sealing width of each file to be sealed; The files to be stamped are sequentially stacked and arranged in the transverse direction according to the stamping width, and for two adjacent files to be stamped, the distance between the side edge of the upper layer of files to be stamped and the side edge of the lower layer of files to be stamped in the same direction is the stamping width; taking the side edge of the file to be stamped at the bottommost layer in the stacked arrangement as a first boundary, enabling one edge of the optical detection range to be close to the first boundary and enabling the optical detection range to cover all the files to be stamped, and scanning all light receiving elements in the optical detection range along the longitudinal direction of the files to be stamped to obtain light quantity values of all the areas; taking the area as a stamping area under the condition that the light quantity value meets the light quantity reference value requirement of the file to be stamped; And stamping the seal in the stamping area.
- 9. The method of claim 1, wherein stamping the stamp in the stamping area further comprises: Controlling a seal rod above the file to be sealed to move until a projection area of a seal connected with one end of the seal rod on the file to be sealed is positioned in the sealing area; and controlling the seal to seal on the file to be sealed.
- 10. The method of claim 9, wherein the step of controlling movement of the stamp stem comprises: and rotating the seal rod on a plane parallel to the plane of the to-be-sealed file by taking one end of the seal rod away from the seal as an origin, and adjusting the telescopic length of the seal rod until a projection area of the seal on the to-be-sealed file is positioned in the sealing area.
- 11. An intelligent stamping device, characterized in that the device comprises: The device comprises an optical detection range determining unit, a detection unit and a detection unit, wherein the optical detection range determining unit is used for determining an optical detection range corresponding to the size of a seal, and the optical detection range comprises a plurality of photoelectric sensors; The scanning unit is used for scanning all areas of the file to be stamped, which are positioned below the light receiving elements, by utilizing all the light receiving elements in the optical detection range to obtain light quantity values of all the areas; a stamping area determining unit, configured to take the area as a stamping area when the light quantity value meets a light quantity reference value requirement of the file to be stamped; the stamping unit is used for stamping the stamp in the stamping area; the light receiving elements are uniformly arranged in the optical detection range at intervals; the determining the optical detection range corresponding to the size of the seal further comprises: The method comprises the steps that on a light quantity detection part comprising a plurality of light receiving elements which are uniformly arranged at intervals, the number of the light receiving elements corresponding to the size of a seal is determined according to the size of the seal and the intervals of the light receiving elements, and the light quantity detection part is positioned above the seal surface of a file to be sealed; and taking the areas where the plurality of light receiving elements are uniformly arranged at intervals on the detection component as the optical detection range.
- 12. An intelligent stamping system is characterized by comprising a stamp, a stamp rod, a plurality of light receiving elements and the intelligent stamping device of claim 11; The light receiving element is positioned above the document to be stamped and is used for scanning each area of the document to be stamped; The intelligent stamping device is used for calculating the stamping area of the file to be stamped according to the numerical value scanned by the light receiving element; the seal rod is positioned above the file to be sealed, and one end of the seal rod is connected with the seal; The intelligent stamping device is further used for controlling the stamp rod to move until the projection area of the stamp on the file to be stamped is located in the stamping area, and controlling the stamp to stamp on the file to be stamped.
- 13. A computer device comprising a memory, a processor, and a computer program stored on the memory, characterized in that the processor, when executing the computer program, implements the method of any of claims 1 to 10.
- 14. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the method of any of claims 1 to 10.
- 15. A computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements the method of any of claims 1 to 10.
Description
Intelligent stamping method, device, system, equipment and storage medium Technical Field The present disclosure relates to the field of artificial intelligence technologies, and in particular, to an intelligent stamping method, apparatus, system, device, and storage medium. Background The counter printer is used for stamping the put-in stack of paper. When the existing counter surface stamping machine is used for stamping the seal, the paper box and the stamping rod are fixed in position, so that the to-be-stamped file placed in the paper box can be stamped at the fixed position. When a large amount of content is printed at the fixed stamping position of the file to be stamped, the prior counter printer cannot intelligently screen out a proper blank area in the file to be stamped like a person, so that after the counter printer stamps, the stamp on the paper is overlapped with the original content, and the reference experience of a user to the file is reduced. What is needed is an intelligent stamping method at present, so that the problem that in the prior art, a counter printer cannot intelligently screen out a proper blank area in a file to be stamped, when a large amount of content exists at a fixed stamping position of the file to be stamped, the stamp on paper is overlapped with the original content, and the user experience of referring to the file is reduced is solved. Disclosure of Invention In order to solve the problems in the prior art, the embodiment of the specification provides an intelligent stamping method, an intelligent stamping device, an intelligent stamping system, intelligent stamping equipment and an intelligent stamping storage medium, which are used for identifying a blank area of a file to be stamped and stamping the stamp in the blank area. In order to solve any one of the above technical problems, the specific technical scheme herein is as follows: on the one hand, the embodiment of the specification provides an intelligent stamping method, which comprises the following steps of, Determining an optical detection range corresponding to the size of the seal, wherein the optical detection range comprises a plurality of light receiving elements; Scanning all areas of the file to be stamped, which are positioned below the light receiving elements, by utilizing all the light receiving elements in the optical detection range to obtain light quantity values of all the areas; taking the area as a stamping area under the condition that the light quantity value meets the light quantity reference value requirement of the file to be stamped; And stamping the seal in the stamping area. Further, a plurality of light receiving elements are arranged at uniform intervals within the optical detection range. Further, determining the optical detection range corresponding to the size of the stamp further includes: The method comprises the steps that on a light quantity detection part comprising a plurality of light receiving elements which are uniformly arranged at intervals, the number of the light receiving elements corresponding to the size of a seal is determined according to the size of the seal and the intervals of the light receiving elements, and the light quantity detection part is positioned above the seal surface of a file to be sealed; and taking the areas where the plurality of light receiving elements are uniformly arranged at intervals on the detection component as the optical detection range. Further, a detection area formed by all the light receiving elements on the light quantity detection part is larger than or equal to the area of the document to be stamped; scanning each region of the document to be stamped by using all the light receiving elements in the optical detection range further comprises: and in the transverse direction or the longitudinal direction of the stamping file, the optical detection range is moved by taking the interval between two adjacent light receiving elements as a step length, and each area of the file to be stamped is scanned. Further, calculating the light amount value corresponding to the optical detection range further includes: the light quantity value is calculated according to the numerical value of each light receiving element. Further, calculating the light amount value from the numerical value of each light receiving element further includes: And calculating an average value of the numerical values of the light receiving elements, and taking the average value as the light quantity value. Further, the step of calculating the light quantity reference value includes: Scanning an area, which is positioned below the light receiving element and is not printed with content, in the file to be stamped by utilizing all the light receiving elements in the optical detection range to obtain a light quantity value of the area; The light quantity value of the area is taken as the light quantity reference value. Further, in the process of scanning each region o