CN111027450A - Bank card information identification method and device, computer equipment and storage medium - Google Patents

Bank card information identification method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111027450A
CN111027450A CN201911231024.7A CN201911231024A CN111027450A CN 111027450 A CN111027450 A CN 111027450A CN 201911231024 A CN201911231024 A CN 201911231024A CN 111027450 A CN111027450 A CN 111027450A
Authority
CN
China
Prior art keywords
bank card
picture
detected
video stream
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911231024.7A
Other languages
Chinese (zh)
Inventor
严博宇
涂天牧
刘新宇
黄鸿康
赵寒枫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen New Guodu Jinfu Technology Co Ltd
Original Assignee
Shenzhen New Guodu Jinfu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen New Guodu Jinfu Technology Co Ltd filed Critical Shenzhen New Guodu Jinfu Technology Co Ltd
Priority to CN201911231024.7A priority Critical patent/CN111027450A/en
Publication of CN111027450A publication Critical patent/CN111027450A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/20Scenes; Scene-specific elements in augmented reality scenes
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content

Abstract

The embodiment of the invention discloses a bank card information identification method, a bank card information identification device, computer equipment and a storage medium. The method comprises the following steps: acquiring a video stream shot by a camera of a terminal; converting the video stream into a picture to be detected; judging whether the picture to be detected contains a bank card picture area or not according to a pre-trained bank card detection model; if the picture to be detected comprises the bank card picture area, intercepting the picture from the picture to be detected as a target picture according to the coordinates of the bank card picture area output by the bank card detection model; and uploading the target picture to a preset server so that the server identifies the bank card information in the target picture. The method and the device obtain the image of the bank card based on a mobile phone scanning mode, screen the image through the bank card detection model, and extract the region only containing the bank card, so that the precision and the accuracy of image screening are improved, and the accuracy of subsequent card number identification can be improved, thereby solving the problem that the identification fails because the bank card photo obtained by photographing is unstable.

Description

Bank card information identification method and device, computer equipment and storage medium
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to a bank card information identification method and device, computer equipment and a storage medium.
Background
With the development of mobile internet, more and more mobile APPs involve the input of personal bank card number information, and if the bank card number is manually input, the speed is very slow, and the user experience is very poor. In the traditional bank card information identification, the whole original picture is uploaded to a server for identification in a manual photographing mode. The traditional mode needs the user to manually shoot the photo of the bank card, has higher requirements on the shooting level of the user, and cannot identify the information of the bank card if the photo shot by the user does not meet the requirements.
Disclosure of Invention
The embodiment of the invention provides a bank card information identification method, a bank card information identification device, computer equipment and a storage medium, and aims to solve the problem of low identification rate caused by unstable bank card photo acquisition of a user in the prior art.
In a first aspect, an embodiment of the present invention provides a method for identifying information of a bank card, including:
acquiring a video stream shot by a camera of a terminal;
converting the video stream into a picture to be detected;
judging whether the picture to be detected contains a bank card picture area or not according to a pre-trained bank card detection model;
if the picture to be detected comprises a bank card picture area, intercepting the picture from the picture to be detected as a target picture according to the coordinates of the bank card picture area output by the bank card detection model;
and uploading the target picture to a preset server so that the server identifies the bank card information in the target picture.
The further technical scheme is that the method also comprises the following steps:
and if the picture to be detected does not contain the bank card picture area, returning to the step of acquiring the video stream shot by the camera of the terminal.
A further technical solution is that, before the video stream shot by the camera of the terminal is obtained, the method further includes:
acquiring the length and the height of a terminal screen;
and generating a scanning frame positioned in the center of the terminal screen on the terminal screen according to the length and the height of the terminal screen.
The method further comprises the following steps that before the picture to be detected is judged to contain the bank card picture area according to a pre-trained bank card detection model, the method also comprises the following steps:
and training the bank card detection model.
The further technical scheme is that the training of the bank card detection model comprises the following steps:
obtaining sample pictures, wherein the sample pictures comprise a positive sample picture and a negative sample picture;
constructing a training data sample set according to the obtained sample picture;
training the bank card detection model according to the training data sample set;
and compressing the trained bank card detection model.
In a second aspect, an embodiment of the present invention further provides a device for identifying information of a bank card, including:
the first acquisition unit is used for acquiring a video stream shot by a camera of the terminal;
the conversion unit is used for converting the video stream into a picture to be detected;
the judging unit is used for judging whether the picture to be detected contains a bank card picture area or not according to a pre-trained bank card detection model;
the intercepting unit is used for intercepting a picture from the picture to be detected as a target picture according to the coordinates of the bank card picture region output by the bank card detection model if the picture to be detected comprises the bank card picture region;
and the uploading unit is used for uploading the target picture to a preset server so that the server identifies the bank card information in the target picture.
The further technical scheme is that the bank card information identification device further comprises:
and the return unit is used for returning to the step of acquiring the video stream shot by the camera of the terminal if the picture to be detected does not contain the bank card picture area.
The further technical scheme is that the bank card information identification device further comprises:
the second acquisition unit is used for acquiring the length and the height of the terminal screen;
and the generating unit is used for generating a scanning frame positioned in the center of the terminal screen on the terminal screen according to the length and the height of the terminal screen.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the above method when executing the computer program.
In a fourth aspect, the present invention also provides a computer-readable storage medium, which stores a computer program, and the computer program can implement the above method when being executed by a processor.
According to the technical scheme, the bank card image is obtained based on a mobile phone scanning mode, the image is screened through a bank card detection model based on a deep neural network, and the region only containing the bank card is extracted, so that the precision and the accuracy of image screening are improved, the accuracy of subsequent card number identification can be improved, and the problem that identification fails due to the fact that the bank card image obtained by photographing is unstable is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for identifying bank card information according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a method for identifying information of a bank card according to an embodiment of the present invention. As shown, the method includes the following steps S1-S5.
And S1, acquiring the video stream shot by the camera of the terminal.
In specific implementation, the terminal is controlled to start the camera for shooting, and then a video stream shot by the camera of the terminal is obtained.
And S2, converting the video stream into a picture to be detected.
In a specific implementation, an analysis object of the bank card detection model is a picture, and for this reason, the video stream acquired in step S1 needs to be converted into a picture to be detected. In this embodiment, the format of the video stream is YUV. Specifically, the video stream in YUV format is converted into a picture in png format.
And S3, judging whether the picture to be detected contains a bank card picture area according to a pre-trained bank card detection model.
In specific implementation, a picture to be detected is input into a pre-trained bank card detection model, so that whether the picture to be detected contains a bank card picture area or not is judged by the bank card detection model, and the bank card picture area refers to a picture area containing a bank card.
It should be noted that the bank card detection model is constructed based on a deep neural network.
And S4, if the picture to be detected comprises a bank card picture region, intercepting the picture from the picture to be detected as a target picture according to the coordinates of the bank card picture region output by the bank card detection model.
In specific implementation, if the picture to be detected includes a bank card picture region, the bank card detection model outputs coordinates of the bank card picture region. Further, a picture is captured from the picture to be detected as a target picture according to the coordinates of the bank card picture area output by the bank card detection model.
And S5, uploading the target picture to a preset server, so that the server identifies the bank card information in the target picture.
In specific implementation, the target picture is uploaded to a preset server, so that the server identifies the bank card information in the target picture.
According to the technical scheme, the bank card image is obtained based on a mobile phone scanning mode, the image is screened through a bank card detection model based on a deep neural network, and the region only containing the bank card is extracted, so that the precision and the accuracy of image screening are improved, the accuracy of subsequent card number identification can be improved, and the problem that identification fails due to the fact that the bank card image obtained by photographing is unstable is solved.
Further, the bank card information identification method further comprises the following steps:
and if the picture to be detected does not contain the bank card picture area, returning to the step of acquiring the video stream shot by the camera of the terminal.
In a specific implementation, if the picture to be detected does not include the bank card picture region, the process returns to step S1, and the video stream is obtained again for detection until the picture to be detected includes the bank card picture region.
Further, before step S1, the bank card information identification method further includes the steps of:
(a) and acquiring the length and the height of the terminal screen.
In specific implementation, the length and height of the terminal screen can be inquired according to the model of the terminal.
(b) And generating a scanning frame positioned in the center of the terminal screen on the terminal screen according to the length and the height of the terminal screen.
In specific implementation, a scanning frame located in the center of a terminal screen is generated on the terminal screen according to the length and the height of the terminal screen. Through the steps, the scanning frame can be ensured to be adapted to the resolution of the terminal screens of various models.
Further, before step S3, the bank card information identification method further includes the steps of:
and training the bank card detection model.
In specific implementation, the training of the bank card detection model specifically comprises the following steps:
(1) obtaining sample pictures, wherein the sample pictures comprise a positive sample picture and a negative sample picture.
In specific implementation, a sample picture (positive sample picture) including a bank card picture and a sample picture (negative sample picture) which does not include a bank card but includes an identity card, a driving license and the like, has a similar appearance to the bank card but is not expected to be detected by a model are collected.
(2) And constructing a training data sample set according to the obtained sample picture.
In specific implementation, the bank card area in the positive sample picture is marked manually. Because of the high cost of manual labeling, a large number of synthetic samples can be made from a small number of manually labeled samples as follows: randomly extracting a bank card cut from the manually marked positive sample picture, randomly rotating, scaling, randomly embedding the bank card into the positive sample picture and the negative sample picture after transformation such as scale, color, contrast, noise disturbance and the like, and marking embedded coordinates of the bank card to form a large number of new positive sample pictures; in order to enable the model not to detect the bank card with fuzzy and the area of the bank card occupying too small picture area, the bank card cut out from the manually marked positive sample picture is randomly extracted, the bank card is greatly blurred or reduced, and then the bank card is randomly embedded into the positive sample picture and the negative sample picture, but the embedded coordinates are not marked, so that a large number of new negative sample pictures are formed.
(3) And training the bank card detection model according to the training data sample set.
And training the bank card detection model by using the training data sample set constructed by the method. The bank card detection model structure used by the invention is SSD-MobileNet-V2 optimized for the mobile terminal, and is a full convolution neural network model with few parameters, high precision and quick target detection. And properly adjusting the training method and the hyper-parameters according to the test result to obtain the model with the best effect. The training of the bank card detection model is based on the tenserflow framework of google.
(4) And compressing the trained bank card detection model.
In order to deploy the bank card detection model to a mobile terminal (a mobile phone, a special certificate identification instrument, and the like), quantization compression processing needs to be performed on parameters of the bank card detection model, floating-point parameters are converted into integer parameters with higher calculation performance, and the bank card detection model is lighter and faster. The compression of the bank card detection model is based on the tflite framework of google.
The invention also provides a bank card information identification device corresponding to the bank card information identification method. The bank card information identification device comprises a unit for executing the bank card information identification method, and can be configured in a mobile phone, a special certificate identification instrument and other terminals. Specifically, the bank card information identification device comprises a first acquisition unit, a conversion unit, a judgment unit, an interception unit and an uploading unit.
The first acquisition unit is used for acquiring the video stream shot by the camera of the terminal.
And the conversion unit is used for converting the video stream into a picture to be detected.
And the judging unit is used for judging whether the picture to be detected contains a bank card picture area or not according to a pre-trained bank card detection model.
And the intercepting unit is used for intercepting a picture from the picture to be detected as a target picture according to the coordinates of the bank card picture region output by the bank card detection model if the picture to be detected comprises the bank card picture region.
And the uploading unit is used for uploading the target picture to a preset server so that the server identifies the bank card information in the target picture.
In one embodiment, the bank card information identification device further comprises a return unit.
And the return unit is used for returning to the step of acquiring the video stream shot by the camera of the terminal if the picture to be detected does not contain the bank card picture area.
In an embodiment, the bank card information identification apparatus further includes a second obtaining unit and a generating unit.
And the second acquisition unit is used for acquiring the length and the height of the terminal screen.
And the generating unit is used for generating a scanning frame positioned in the center of the terminal screen on the terminal screen according to the length and the height of the terminal screen.
In one embodiment, the bank card information identification device further comprises a training unit.
And the training unit is used for training the bank card detection model.
In an embodiment, the training unit includes a third obtaining unit, a constructing unit, a second training unit, and a compressing unit.
And the third acquisition unit is used for acquiring sample pictures, wherein the sample pictures comprise positive sample pictures and negative sample pictures.
And the construction unit is used for constructing a training data sample set according to the acquired sample picture.
And the second training unit is used for training the bank card detection model according to the training data sample set.
And the compression unit is used for compressing the trained bank card detection model.
It should be noted that, as can be clearly understood by those skilled in the art, the specific implementation process of the bank card information identification apparatus and each unit may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
The bank card information identification apparatus may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 2.
Referring to fig. 2, fig. 2 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a terminal or a server, where the terminal may be an electronic device with a communication function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster composed of a plurality of servers.
Referring to fig. 2, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, causes the processor 502 to perform a bank card information identification method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 can be enabled to execute a bank card information identification method.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 2 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the computer device 500 to which the present application may be applied, and that a particular computer device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to run the computer program 5032 stored in the memory to implement the following steps:
acquiring a video stream shot by a camera of a terminal;
converting the video stream into a picture to be detected;
judging whether the picture to be detected contains a bank card picture area or not according to a pre-trained bank card detection model;
if the picture to be detected comprises a bank card picture area, intercepting the picture from the picture to be detected as a target picture according to the coordinates of the bank card picture area output by the bank card detection model;
and uploading the target picture to a preset server so that the server identifies the bank card information in the target picture.
In one embodiment, processor 502 further implements the steps of:
and if the picture to be detected does not contain the bank card picture area, returning to the step of acquiring the video stream shot by the camera of the terminal.
In an embodiment, before the step of acquiring the video stream captured by the camera of the terminal, the processor 502 further implements the following steps:
acquiring the length and the height of a terminal screen;
and generating a scanning frame positioned in the center of the terminal screen on the terminal screen according to the length and the height of the terminal screen.
In an embodiment, before the step of determining whether the to-be-detected picture includes the bank card picture region according to the pre-trained bank card detection model is implemented, the processor 502 further implements the following steps:
and training the bank card detection model.
In an embodiment, when the processor 502 implements the step of training the bank card detection model, the following steps are specifically implemented:
obtaining sample pictures, wherein the sample pictures comprise a positive sample picture and a negative sample picture;
constructing a training data sample set according to the obtained sample picture;
training the bank card detection model according to the training data sample set;
and compressing the trained bank card detection model.
It should be understood that, in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. The computer program, when executed by a processor, causes the processor to perform the steps of:
acquiring a video stream shot by a camera of a terminal;
converting the video stream into a picture to be detected;
judging whether the picture to be detected contains a bank card picture area or not according to a pre-trained bank card detection model;
if the picture to be detected comprises a bank card picture area, intercepting the picture from the picture to be detected as a target picture according to the coordinates of the bank card picture area output by the bank card detection model;
and uploading the target picture to a preset server so that the server identifies the bank card information in the target picture.
In an embodiment, the processor, in executing the computer program, further implements the steps of:
and if the picture to be detected does not contain the bank card picture area, returning to the step of acquiring the video stream shot by the camera of the terminal.
In an embodiment, before the step of executing the computer program to realize the video stream shot by the camera of the terminal, the processor further realizes the following steps:
acquiring the length and the height of a terminal screen;
and generating a scanning frame positioned in the center of the terminal screen on the terminal screen according to the length and the height of the terminal screen.
In an embodiment, before the processor executes the computer program to determine whether the to-be-detected picture includes a bank card picture region according to a pre-trained bank card detection model, the processor further performs the following steps:
and training the bank card detection model.
In an embodiment, when the processor executes the computer program to implement the step of training the bank card detection model, the following steps are specifically implemented:
obtaining sample pictures, wherein the sample pictures comprise a positive sample picture and a negative sample picture;
constructing a training data sample set according to the obtained sample picture;
training the bank card detection model according to the training data sample set;
and compressing the trained bank card detection model.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, while the invention has been described with respect to the above-described embodiments, it will be understood that the invention is not limited thereto but may be embodied with various modifications and changes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A bank card information identification method is characterized by comprising the following steps:
acquiring a video stream shot by a camera of a terminal;
converting the video stream into a picture to be detected;
judging whether the picture to be detected contains a bank card picture area or not according to a pre-trained bank card detection model;
if the picture to be detected comprises a bank card picture area, intercepting the picture from the picture to be detected as a target picture according to the coordinates of the bank card picture area output by the bank card detection model;
and uploading the target picture to a preset server so that the server identifies the bank card information in the target picture.
2. The bank card information identification method according to claim 1, further comprising:
and if the picture to be detected does not contain the bank card picture area, returning to the step of acquiring the video stream shot by the camera of the terminal.
3. The method for identifying information of a bank card according to claim 1, wherein before acquiring the video stream shot by the camera of the terminal, the method further comprises:
acquiring the length and the height of a terminal screen;
and generating a scanning frame positioned in the center of the terminal screen on the terminal screen according to the length and the height of the terminal screen.
4. The method for identifying information of a bank card according to claim 1, wherein before the step of judging whether the picture to be tested includes the bank card picture region according to the pre-trained bank card detection model, the method further comprises:
and training the bank card detection model.
5. The method for identifying information of a bank card according to claim 4, wherein the training of the bank card detection model comprises:
obtaining sample pictures, wherein the sample pictures comprise a positive sample picture and a negative sample picture;
constructing a training data sample set according to the obtained sample picture;
training the bank card detection model according to the training data sample set;
and compressing the trained bank card detection model.
6. An information recognition apparatus for a bank card, comprising:
the first acquisition unit is used for acquiring a video stream shot by a camera of the terminal;
the conversion unit is used for converting the video stream into a picture to be detected;
the judging unit is used for judging whether the picture to be detected contains a bank card picture area or not according to a pre-trained bank card detection model;
the intercepting unit is used for intercepting a picture from the picture to be detected as a target picture according to the coordinates of the bank card picture region output by the bank card detection model if the picture to be detected comprises the bank card picture region;
and the uploading unit is used for uploading the target picture to a preset server so that the server identifies the bank card information in the target picture.
7. The bank card information identification device according to claim 6, further comprising:
and the return unit is used for returning to the step of acquiring the video stream shot by the camera of the terminal if the picture to be detected does not contain the bank card picture area.
8. The bank card information identification device according to claim 6, further comprising:
the second acquisition unit is used for acquiring the length and the height of the terminal screen;
and the generating unit is used for generating a scanning frame positioned in the center of the terminal screen on the terminal screen according to the length and the height of the terminal screen.
9. A computer arrangement, characterized in that the computer arrangement comprises a memory having stored thereon a computer program and a processor implementing the method according to any of claims 1-5 when executing the computer program.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when being executed by a processor, is adapted to carry out the method according to any one of claims 1-5.
CN201911231024.7A 2019-12-04 2019-12-04 Bank card information identification method and device, computer equipment and storage medium Pending CN111027450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911231024.7A CN111027450A (en) 2019-12-04 2019-12-04 Bank card information identification method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911231024.7A CN111027450A (en) 2019-12-04 2019-12-04 Bank card information identification method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111027450A true CN111027450A (en) 2020-04-17

Family

ID=70207995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911231024.7A Pending CN111027450A (en) 2019-12-04 2019-12-04 Bank card information identification method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111027450A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112161984A (en) * 2020-09-28 2021-01-01 冯家禧 Wine positioning method, wine information management method, device, equipment and storage medium
CN112418024A (en) * 2020-11-10 2021-02-26 北京五八信息技术有限公司 Target identification method and device, mobile terminal and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112161984A (en) * 2020-09-28 2021-01-01 冯家禧 Wine positioning method, wine information management method, device, equipment and storage medium
CN112418024A (en) * 2020-11-10 2021-02-26 北京五八信息技术有限公司 Target identification method and device, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
AU2017261537B2 (en) Automated selection of keeper images from a burst photo captured set
CN107784282B (en) Object attribute identification method, device and system
US9036905B2 (en) Training classifiers for deblurring images
JP6129987B2 (en) Text quality based feedback to improve OCR
CN106650662B (en) Target object shielding detection method and device
CN105956059A (en) Emotion recognition-based information recommendation method and apparatus
CN106934376B (en) A kind of image-recognizing method, device and mobile terminal
CN108229526B (en) Network training method, network training device, image processing method, image processing device, storage medium and electronic equipment
CN108229418B (en) Human body key point detection method and apparatus, electronic device, storage medium, and program
CN111027450A (en) Bank card information identification method and device, computer equipment and storage medium
CN109376256B (en) Image searching method and device
CN108337505B (en) Information acquisition method and device
CN108805047B (en) Living body detection method and device, electronic equipment and computer readable medium
CN108269254B (en) Image quality evaluation method and device
US11354889B2 (en) Image analysis and processing pipeline with real-time feedback and autocapture capabilities, and visualization and configuration system
WO2021203863A1 (en) Artificial intelligence-based object detection method and apparatus, device, and storage medium
CN111935479A (en) Target image determination method and device, computer equipment and storage medium
CN110516731B (en) Visual odometer feature point detection method and system based on deep learning
CN110751069A (en) Face living body detection method and device
CN112633221A (en) Face direction detection method and related device
WO2020248387A1 (en) Face recognition method and apparatus based on multiple cameras, and terminal and storage medium
CN111814913A (en) Training method and device for image classification model, electronic equipment and storage medium
CN113709563B (en) Video cover selecting method and device, storage medium and electronic equipment
US20220122341A1 (en) Target detection method and apparatus, electronic device, and computer storage medium
CN110458024A (en) Biopsy method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination