基于JAVA的卡证识别管理毕业设计作品分享一下,希望能帮助到有需要的同学们。
【背景/简介】
基于JAVA的卡证识别管理系统核心功能为卡证识别,简单实用,往往可以作为大学毕业设计/课程设计的选题目标。卡证识别包括身份证识别、银行卡识别、名片识别、护照识别、营业执照识别、往来港澳通行证识别等,本篇文章以名片识别和身份证识别为例子,为大家展示基于JAVA实现的卡证识别管理功能,有需者可参考。
【设计思路】
卡证识别系统核心在于识别功能,考虑到成本加开发时间等因素,识别功能将基于JAVA采用第三方识别接口开发。
【技术框架】
系统采用的技术是基于JAVA语言开发的后台管理系统,前后端不分离,数据库采用mysql。技术栈如下:
一、后端技术:SpringBoot2.0 + Spring Data Jpa + Shiro
二、前端技术:Layui
【核心开发】
一、数据库设计
核心表为名片用户表(or_businessCard),具体字段如下
@Data
@Entity
@Table(name="or_businessCard")
public class BusinessCard implements Serializable {
// 主键ID
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
private Long id;
private String name;
// 职位
private String job;
// 公司
private String company;
// 地址
private String address;
// 网址
private String url;
// 手机
private String mobile;
// 固定电话
private String fixedPhone;
// 传真
private String fax;
// qq
private String qq;
// 微信
private String weChat;
// 创建时间
@CreatedDate
private Date createDate;
// 更新时间
@LastModifiedDate
private Date updateDate;
// 创建者
@CreatedBy
@ManyToOne(fetch=FetchType.LAZY)
@NotFound(action=NotFoundAction.IGNORE)
@JoinColumn(name="create_by")
@JsonIgnore
private User createBy;
// 更新者
@LastModifiedBy
@ManyToOne(fetch=FetchType.LAZY)
@NotFound(action=NotFoundAction.IGNORE)
@JoinColumn(name="update_by")
@JsonIgnore
private User updateBy;
// 数据状态
private Byte status = StatusEnum.OK.getCode();
}
身份证表设计如下:
@Data
@Entity
@Table(name="or_cardInfo")
public class CardInfo implements Serializable {
// 主键ID
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
private Long id;
private String name;
// 民族
private String nation;
// 住址
private String address;
// 省份
private String province;
// 公民身份号码
private String idNum;
// 性别
private String sex;
// 出生
private