基于matlab的alexnet深度学习框架做指纹识别的框架和方法(可拓展做波形识别)

1、指纹识别数据集;

FVC2002 - Second International Fingerprint Verification Competition

2、数据预处理

1)贴标签分类;

将多种指纹放在多个文件夹里面,将文件夹备注不同的指纹名称;

3、编写matlab代码&配置参数

基于Alexnet框架编写代码(出于保密需求,代码省略,感兴趣的朋友可以留言讨论)

4、深度学习

对分类好的数据集进行深度学习;

5、测试

用20%的数据进行测试,判断预测准确性。

代码如下:

Here's some MATLAB code to train and test a convolutional neural network (CNN) model with LeNet-5 architecture, which is one of the most widely used CNN architectures in computer vision. The training data consists of 2048x196 images that are cropped from larger images using OpenCV library for image processing.
```m file:
function [net_params] = lecnn(im) % LeNet-5 architecture with Alexnet pretrained weights
    clear all; close all; clf;

% Load the CNN model parameters and initialize variables
load('leclas.mat'); load('alexnet128.mat') ;

% Define input image dimensions (width, height) for training data
im_dim = [640 594]; % Image size in pixels of training images

% Load the AlexNet pretrained weights and initialize variables with them
load('alexnet128.mat') ; clear all; close all; clf;

% Define input image dimensions (width, height) for testing data
im_dim = [640 594]; % Image size in pixels of test images

% Initialize variables with the AlexNet pretrained weights and parameters
net.params(:)=alexnet128; net.weights=leclas; clear all; close all; clf ;

% Define input image dimensions (width, height) for training data
im_dim = [640 594]; % Image size in pixels of training images

% Load the CNN model parameters and initialize variables with them
load('leclas.mat'); clear all; close all; clf ;

% Define input image dimensions (width, height) for testing data
im_dim = [640 594]; % Image size in pixels of test images

% Initialize variables with the LeNet-5 parameters and weights
net.params(:)=leclas; net.weights=leclas ; clear all; close all; clf ;

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

量子波动收纳盒

你的鼓励将是我创作的最大动力!

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值