Counting method and system, electronic equipment and medium

A counting method and technology of electronic equipment, applied in the field of deep learning, can solve the problems of low accuracy of counting results, etc., achieve the effect of improving visual ability, purpose and advantages, concise and easy to understand, and improving recognition speed and accuracy

Pending Publication Date: 2022-01-07
SHANGHAI MININGLAMP ARTIFICIAL INTELLIGENCE GRP CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present application provides a counting method, system, electronic equipment and medium, so as to solve the problem of low accuracy of the counting result in the process of counting the number of dumplings on the plate at least through the present invention

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Counting method and system, electronic equipment and medium
  • Counting method and system, electronic equipment and medium
  • Counting method and system, electronic equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] This embodiment provides a counting method. Please refer to Figure 1 to Figure 3 , figure 1 is a flow chart of the counting method according to the embodiment of the application; figure 2 It is a display diagram of the elliptic equation acquisition steps according to the embodiment of the present application; image 3 is a frame diagram of the counting process according to the embodiment of the present application, such as Figure 1 to Figure 3 As shown, the counting method includes the following steps:

[0056] Rectangular frame acquisition step S1: Obtain and detect the rectangular frame, the circumscribed polygon of the dumplings and the circumscribed polygon of the plate through the image recognition system;

[0057] Step S2 of obtaining the ellipse equation: after obtaining the centroid of the dumpling polygon through the circumscribed polygon of the dumpling, fitting the circumscribed polygon of the plate to obtain an ellipse, and obtaining the ellipse param...

Embodiment 2

[0072] Please refer to Figure 5 , Figure 5 It is a structural schematic diagram of the counting system of the present invention. Such as Figure 5 As shown, the inventive counting system is suitable for the above-mentioned counting method, and the counting system includes:

[0073] Rectangular frame acquisition unit 51: acquire and detect the rectangular frame and the circumscribed polygon of the dumplings and the circumscribed polygon of the plate through the image recognition system;

[0074] Ellipse equation acquiring unit 52: After obtaining the dumpling centroid of the dumpling polygon through the circumscribed polygon of the dumpling, fitting the circumscribed polygon of the plate to obtain an ellipse, after obtaining the ellipse parameters through the ellipse, calculating the ellipse parameter Perform rotation transformation to obtain ellipse equation;

[0075] Judging unit 53: Bring the centroid of the dumpling into the calculation of the ellipse equation, and af...

Embodiment 3

[0084] combine Figure 6 As shown, this embodiment discloses a specific implementation manner of an electronic device. The electronic device may include a processor 81 and a memory 82 storing computer program instructions.

[0085] Specifically, the processor 81 may include a central processing unit (CPU), or an Application Specific Integrated Circuit (ASIC for short), or may be configured to implement one or more integrated circuits in the embodiments of the present application.

[0086]Among them, the memory 82 may include mass storage for data or instructions. For example without limitation, the memory 82 may include a hard disk drive (Hard Disk Drive, referred to as HDD), a floppy disk drive, a solid state drive (SolidState Drive, referred to as SSD), flash memory, optical disk, magneto-optical disk, magnetic tape or universal serial bus (Universal Serial Bus, referred to as USB) drive or a combination of two or more of the above. Storage 82 may comprise removable or no...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a counting method and system, electronic equipment and a medium. The counting method comprises the following steps: a rectangular frame acquisition step: acquiring a detection rectangular frame, a dumpling circumscribed polygon and a plate circumscribed polygon through an image recognition system; an elliptic equation obtaining step: obtaining a dumpling centroid of the dumpling polygon through the dumpling circumscribed polygon, fitting the dish circumscribed polygon to obtain an ellipse, obtaining an ellipse parameter through the ellipse, and performing rotation transformation on the ellipse parameter to obtain an elliptic equation; and a judgment step: substituting the dumpling centroid into the elliptic equation for calculation, and after an elliptic equation value is obtained, judging whether the dumpling is on the plate or not according to the elliptic equation value. Whether the dumplings are in the plates or not is accurately judged by fitting the elliptic equation and judging whether the points are inside and outside the ellipse, so that the counting efficiency of the number of the dumplings in the plates is improved.

Description

technical field [0001] The present application relates to the technical field of deep learning, and in particular to a counting method, system, electronic equipment and media. Background technique [0002] In recent years, the convolutional neural network has enabled the rapid development of artificial intelligence. With the development of hardware and the emergence of high-speed logic computing devices, artificial intelligence has blossomed in various industries in society, such as transportation, catering, advertising and other industries. . In particular, the field of computer vision has developed rapidly in recent years, and its directions include object classification, object detection, and object segmentation. In the catering industry, such as dumpling shops, image recognition technology can be used to identify the quality and number of dumplings. On the one hand, it can help the merchants to count the daily meals, and on the other hand, it can also remind the staff a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06T7/13
CPCG06T7/13G06T2207/30242
Inventor 赵波胡郡郡唐大闰
Owner SHANGHAI MININGLAMP ARTIFICIAL INTELLIGENCE GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products