当前位置: 首页 > article >正文

uni-id-pages配置email

uniappuniclouduni-id-pages 配置邮箱教程安装uni-id-pages插件下载插件并导入HbuilderX修改/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/send-email-code.js文件内容,将测试代码注释添加发送邮件代码// -- 测试代码// await require(../../lib/utils/verify-code)// .setEmailVerifyCode.call(this, {// email,// code: 123456,// expiresIn: 180,// scene// })// return {// errCode: uni-id-invalid-mail-template,// errMsg: 已启动测试模式直接使用123456作为邮箱验证码即可。\n如果是正式项目需自行实现发送邮件的相关功能// }// -- 测试代码//发送邮件--需自行实现awaitrequire(../../lib/utils/verify-code).setEmailVerifyCode.call(this,{email,code:,expiresIn:180,scene})return{errCode:0,errMsg:邮箱验证码已经生成}// 发送邮件/uniCloud/cloudfunctions右键该文件添加云对象输入email右键email文件夹在集成终端打来输入npm install nodemailer修改package.json,添加cloudfunction-config: {runtime: Nodejs18}选项目前最高支持nodejs18{name:email,dependencies:{nodemailer:^8.0.0},extensions:{uni-cloud-jql:{}},cloudfunction-config:{runtime:Nodejs18}}/uniCloud/cloudfunctions/email目录下编写index.obj.js代码如下// 云对象教程: https://uniapp.dcloud.net.cn/uniCloud/cloud-obj// jsdoc语法提示教程https://ask.dcloud.net.cn/docs/#//ask.dcloud.net.cn/article/129// 导入发送邮件的依赖模块constnodemailerrequire(nodemailer);// 谁发送邮件,改为自己的要发送邮件的邮箱constFROM_EMAILyour_email;// 配置发送类型consttransporternodemailer.createTransport({host:smtp.163.com,//邮箱服务器 这里我用的163邮箱 smtp.qq.com smtp.163.comport:465,//邮箱使用端口secure:true,//是否使用默认的465端口auth:{user:FROM_EMAIL,// 自己的授权密钥去自己邮箱获取pass:**********}});// 编写发送邮件的方法functionsendMail(option){returnnewPromise((resolve,reject){nodemailer.createTestAccount((err){if(err)returnreject(创建失败);transporter.sendMail(option,(error){// console.log(失败的原因:,error);if(error)returnreject(发送失败);resolve({code:200,msg:发送成功});});})})}// 获取集合的引用constdbuniCloud.databaseForJQL();constdbCmddb.command// 获取 opendb-verify-codes 集合的引用constverifyCodeCollectiondb.collection(opendb-verify-codes);module.exports{_before:function(){// 通用预处理器// 删除该邮箱的所有验证码记录verifyCodeCollection.where({expired_date:dbCmd.lt(Date.now())}).remove();},/** * sendEmail方法描述 * param {string} email 邮箱号 * returns {object} 返回值描述 */asyncsendEmail(email){// 给谁发送邮件(用户邮箱)constTO_EMAILemail;// 验证码constverifyCodeawaitverifyCodeCollection.where({email,expired_date:dbCmd.gt(Date.now())}).get()// console.warn(verifyCode, verifyCode)if(verifyCode.data.length0){// 以下发送邮件的信息constemail_HTML{title:测试邮箱---邮箱验证码,body:h1您好/h1 p stylefont-size: 18px;color:#000; 您的验证码为 span stylefont-size: 16px;color:#f00;b${verifyCode.data[0].code}/b,/span p您当前正在测试邮箱账号验证码告知他人将会导致数据信息被盗请勿泄露!/p /p p stylefont-size: 1.5rem;color:#999;60秒内有效/p}letoption{from:FROM_EMAIL,// 发件人地址to:TO_EMAIL,// 收件人地址多个收件人可以使用逗号分隔subject:email_HTML.title,// 邮件标题html:email_HTML.body// 邮件内容}// 执行发送邮件的方法returnawaitsendMail(option);}else{returnnewPromise((resolve,reject)reject({code:400,msg:验证码已过期}))}}}调整uni_modules/uni-id-pages/pages/register/register-by-email.vue的代码如下!-- 邮箱验证码注册 -- template view classuni-content match-media :min-width690 view classlogin-logo image :srclogo/image /view !-- 顶部文字 -- text classtitle title-box邮箱验证码注册/text /match-media uni-forms refform :valueformData :rulesrules validate-triggersubmit err-show-typetoast uni-forms-item nameemail required uni-easyinput :inputBorderfalse :focusfocusEmail blurfocusEmail false classinput-box placeholder请输入邮箱 v-modelformData.email trimboth / /uni-forms-item uni-forms-item namenickname uni-easyinput :inputBorderfalse :focusfocusNickname blurfocusNickname false classinput-box placeholder请输入用户昵称 v-modelformData.nickname trimboth / /uni-forms-item uni-forms-item namepassword v-modelformData.password required uni-easyinput :inputBorderfalse :focusfocusPassword blurfocusPassword false classinput-box maxlength20 :placeholder请输入 (config.passwordStrength weak?6:8) -16位密码 typepassword v-modelformData.password trimboth / /uni-forms-item uni-forms-item namepassword2 v-modelformData.password2 required uni-easyinput :inputBorderfalse :focusfocusPassword2 blurfocusPassword2 false classinput-box placeholder再次输入密码 maxlength20 typepassword v-modelformData.password2 trimboth / /uni-forms-item uni-forms-item namecode uni-id-pages-email-form refshortCode :emailformData.email typeregister :focusCaptchaInputtrue v-modelformData.code /uni-id-pages-email-form /uni-forms-item uni-id-pages-agreements scoperegister refagreements /uni-id-pages-agreements button classuni-btn typeprimary clicksubmit注册/button button clicknavigateBack classregister-back返回/button match-media :min-width690 view classlink-box text classlink clicktoLogin已有账号点此登录/text /view /match-media /uni-forms /view /template script import rules from ./validator.js; import mixin from /uni_modules/uni-id-pages/common/login-page.mixin.js; import config from /uni_modules/uni-id-pages/config.js import passwordMod from /uni_modules/uni-id-pages/common/password.js const uniIdCo uniCloud.importObject(uni-id-co) export default { mixins: [mixin], data() { return { formData: { email: , nickname: , password: , password2: , code: }, rules: { email: { rules: [{ required: true, errorMessage: 请输入邮箱, },{ format:email, errorMessage: 邮箱格式不正确, } ] }, nickname: { rules: [{ minLength: 3, maxLength: 32, errorMessage: 昵称长度在 {minLength} 到 {maxLength} 个字符, }, { validateFunction: function(rule, value, data, callback) { // console.log(value); if (/^1\d{10}$/.test(value) || /^(\w-*\.*)(\w-?)(\.\w{2,})$/.test(value)) { callback(昵称不能是手机号或邮箱) }; if (/^\d$/.test(value)) { callback(昵称不能为纯数字) }; if(/[\u4E00-\u9FA5\uF900-\uFA2D]{1,}/.test(value)){ callback(昵称不能包含中文) } return true } } ], label: 昵称 }, ...passwordMod.getPwdRules(), code: { rules: [{ required: true, errorMessage: 请输入邮箱验证码, }, { pattern: /^.{6}$/, errorMessage: 邮箱验证码不正确, } ] } }, focusEmail:false, focusNickname:false, focusPassword:false, focusPassword2:false, logo: /static/logo.png } }, onReady() { this.$refs.form.setRules(this.rules) }, onShow() { // #ifdef H5 document.onkeydown event { var e event || window.event; if (e e.keyCode 13) { //回车键的键值为13 this.submit() } }; // #endif }, methods: { /** * 触发表单提交 */ submit() { this.$refs.form.validate().then((res) { if (this.needAgreements !this.agree) { return this.$refs.agreements.popup((){ this.submitForm(res) }) } this.submitForm(res) }).catch((errors) { let key errors[0].key key key.replace(key[0], key[0].toUpperCase()) // console.log(key); this[focuskey] true }) }, submitForm(params) { uniIdCo.registerUserByEmail(this.formData).then(e { // console.log(e); uni.navigateTo({ url: /uni_modules/uni-id-pages/pages/login/login-withpwd, complete: (e) { // console.log(e); } }) }) .catch(e { // console.log(e); console.log(e.message); }) }, navigateBack() { uni.navigateBack() }, toLogin() { uni.navigateTo({ url: /uni_modules/uni-id-pages/pages/login/login-withpwd }) } } } /script style langscss import /uni_modules/uni-id-pages/common/login-page.scss; media screen and (max-width: 690px) { .uni-content{ margin-top: 15px; } } media screen and (min-width: 690px) { .uni-content{ padding: 30px 40px; max-height: 650px; } .link-box { /* #ifndef APP-NVUE */ display: flex; /* #endif */ flex-direction: row; justify-content: space-between; margin-top: 10px; } .link { font-size: 12px; } } .uni-content ::v-deep .uni-forms-item__label { position: absolute; left: -15px; } button { margin-top: 15px; } /style修改uni_modules/uni-id-pages/components/uni-id-pages-email-form/uni-id-pages-email-form.vue的142行以下的代码constuniIdCouniCloud.importObject(uni-id-co,{customUI:true})// 导出email对象constemailuniCloud.importObject(email)uniIdCo.sendEmailCode({email:this.email,scene:this.type,captcha:this.captcha}).then(result{// 自己修改的代码email.sendEmail(this.email).then(result{uni.showToast({title:邮箱验证码发送成功,icon:none,duration:3000});}).catch(e{uni.showToast({title:邮箱验证码发送失败,icon:none,duration:3000});})// 自己修改的代码this.reverseNumberNumber(this.count);this.getCode();}).catch(e{if(e.codeuni-id-invalid-mail-template){this.modelValue123456uni.showToast({title:已启动测试模式,详情【控制台信息】,icon:none,duration:3000});console.warn(e.message);}else{this.getImageCaptcha()this.captchauni.showToast({title:验证码输入错误,请稍后重试,icon:none,duration:3000});}})},修改登录页uni_modules/uni-id-pages/pages/login/login-withpwd.vue!-- 账号密码登录页 -- template view classuni-content view classlogin-logo image :srclogo/image /view !-- 顶部文字 -- text classtitle title-box邮箱登录/text uni-forms uni-forms-item nameusername uni-easyinput :focusfocusUsername blurfocusUsername false classinput-box :inputBorderfalse v-modelusername placeholder邮箱 trimall / /uni-forms-item uni-forms-item namepassword uni-easyinput :focusfocusPassword blurfocusPassword false classinput-box clearable typepassword :inputBorderfalse v-modelpassword placeholder请输入密码 trimall / /uni-forms-item /uni-forms uni-captcha v-ifneedCaptcha focus refcaptcha scenelogin-by-pwd v-modelcaptcha / !-- 带选择框的隐私政策协议组件 -- uni-id-pages-agreements scopelogin refagreements/uni-id-pages-agreements button classuni-btn typeprimary clickpwdLogin登录/button !-- 忘记密码 -- view classlink-box view v-if!config.isAdmin text classforget忘记了/text text classlink clicktoRetrievePwd找回密码/text /view text classlink clicktoRegister{{config.isAdmin ? 注册管理员账号: 注册账号}}/text !-- text classlink clicktoRegister v-if!config.isAdmin注册账号/text -- /view !-- 悬浮登录方式组件 -- uni-id-pages-fab-login refuniFabLogin/uni-id-pages-fab-login /view /template script import mixin from /uni_modules/uni-id-pages/common/login-page.mixin.js; const uniIdCo uniCloud.importObject(uni-id-co, { errorOptions: { type: toast } }) export default { mixins: [mixin], data() { return { password: , username: , captcha: , needCaptcha: false, focusUsername: false, focusPassword: false, logo: /static/logo.png } }, onShow() { // #ifdef H5 document.onkeydown event { var e event || window.event; if (e e.keyCode 13) { //回车键的键值为13 this.pwdLogin() } }; // #endif }, methods: { // 页面跳转找回密码 toRetrievePwd() { let url /uni_modules/uni-id-pages/pages/retrieve/retrieve-by-email //如果刚好用户名输入框的值为手机号码就把它传到retrieve页面根据该手机号找回密码 if (/^1\d{10}$/.test(this.username)) { url ?phoneNumber${this.username} } uni.navigateTo({ url }) }, /** * 密码登录 */ pwdLogin() { if (!this.password.length) { this.focusPassword true return uni.showToast({ title: 请输入密码, icon: none, duration: 3000 }); } if (!this.username.length) { this.focusUsername true return uni.showToast({ title: 请输入邮箱, icon: none, duration: 3000 }); } if (this.needCaptcha this.captcha.length ! 4) { this.$refs.captcha.getImageCaptcha() return uni.showToast({ title: 请输入验证码, icon: none, duration: 3000 }); } if (this.needAgreements !this.agree) { return this.$refs.agreements.popup(this.pwdLogin) } let data { password: this.password, captcha: this.captcha } if (/^1\d{10}$/.test(this.username)) { data.mobile this.username } else if (//.test(this.username)) { data.email this.username } else { data.username this.username } uniIdCo.login(data).then(e { this.loginSuccess(e) }).catch(e { if (e.errCode uni-id-captcha-required) { this.needCaptcha true } else if (this.needCaptcha) { //登录失败自动重新获取验证码 this.$refs.captcha.getImageCaptcha() } }) }, /* 前往注册 */ toRegister() { uni.navigateTo({ url: this.config.isAdmin ? /uni_modules/uni-id-pages/pages/register/register-admin : /uni_modules/uni-id-pages/pages/register/register-by-email, fail(e) { console.error(e); } }) } } } /script style langscss scoped import /uni_modules/uni-id-pages/common/login-page.scss; media screen and (min-width: 690px) { .uni-content { height: auto; } } .forget { font-size: 12px; color: #8a8f8b; } .link-box { /* #ifndef APP-NVUE */ display: flex; /* #endif */ flex-direction: row; justify-content: space-between; margin-top: 20px; } .link { font-size: 12px; } .title{ // 居中 text-align: center; } /style

相关文章:

uni-id-pages配置email

uniappuniclouduni-id-pages 配置邮箱教程 安装uni-id-pages插件下载插件并导入HbuilderX 修改/uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/send-email-code.js文件内容,将测试代码注释,添加发送邮件代码 // -- 测试代码// awai…...

Android 休眠机制详解 ——WakeLock、Doze 模式与待机功耗优化实战

前言 待机功耗高、耗电快、手表 / 手机一觉醒来掉电很多,90% 都是 “休眠没睡进去”。 一、为什么要讲 Android 休眠? 对手机 / 手表 / IoT 设备来说: 亮屏 性能息屏待机 续航 功耗测试的核心,就是看设备能不能正常休眠、睡不睡…...

C++中的装饰器模式高级应用

1、非修改序列算法这些算法不会改变它们所操作的容器中的元素。1.1 find 和 find_iffind(begin, end, value):查找第一个等于 value 的元素,返回迭代器(未找到返回 end)。find_if(begin, end, predicate):查找第一个满…...

LeetCode 3296.移山所需的最少秒数:优先队列

【LetMeFly】3296.移山所需的最少秒数:优先队列 力扣题目链接:https://leetcode.cn/problems/minimum-number-of-seconds-to-make-mountain-height-zero/ 给你一个整数 mountainHeight 表示山的高度。 同时给你一个整数数组 workerTimes,表…...

深入解析尺度空间理论及其在SIFT特征提取中的应用

1. 从“看画”说起:为什么我们需要尺度空间? 想象一下,你站在一幅巨大的油画前,比如梵高的《星空》。当你把鼻子都快贴到画布上时,你只能看到一小片区域,那里有清晰的、厚重的笔触和颜料的纹理。你后退一步…...

Spring Boot文件上传报错Failed to parse multipart servlet request的3种解决方案及适用场景

1. 问题重现:那个让人头疼的“Failed to parse multipart servlet request” 不知道你有没有遇到过这种情况:一个好好的Spring Boot文件上传功能,平时用着都挺顺溜,突然有一天,用户反馈说上传文件报错了。你赶紧去查日…...

0.96寸OLED取模实战:从基础字符到动态图像显示

1. 为什么你的OLED屏幕只能显示英文?聊聊取模这回事 你是不是也遇到过这种情况?兴冲冲地买回来一块小巧精致的0.96寸OLED屏幕,连上Arduino或者ESP32,跑了个示例程序,屏幕上“Hello World”亮起,感觉科技感满…...

【C++】MSYS2进阶:从零到一打造现代化C++工作流

1. 为什么你的C开发环境需要一个“瑞士军刀”? 如果你在Windows上折腾过C开发环境,大概率经历过一场噩梦:去MinGW官网下载编译器,手动配置环境变量,再单独安装CMake、Ninja、GDB……每个工具都有自己的安装包和路径&am…...

ESP32-C61 TIMG定时器与看门狗深度实践指南

ESP32-C61 定时器组(TIMG)与看门狗定时器深度实践指南1. TIMG 架构概览与中断机制解析ESP32-C61 的定时器组(TIMG)是系统级时间管理的核心硬件模块,集成于两个独立的定时器组(TIMG0 和 TIMG1)&a…...

提示工程架构师揭秘:AI提示系统个性化与用户画像结合的4大方法

提示工程架构师揭秘:AI提示系统个性化与用户画像结合的4大方法 摘要/引言 在当今AI技术飞速发展的时代,AI提示系统已广泛应用于各种场景。然而,通用的提示往往无法满足每个用户的特定需求。本文旨在解决如何通过将AI提示系统与用户画像相结合…...

立创Ai8051U测控开发板:从传感器采集到无线通信的综合嵌入式实战平台

立创Ai8051U测控开发板:从传感器采集到无线通信的综合嵌入式实战平台 最近有不少朋友问我,想找一个能“一站式”学习嵌入式系统所有核心环节的开发板,从最基础的GPIO控制,到传感器数据采集、存储、显示,再到无线通信和…...

立创开源复古辉光管时钟DIY全解析:ESP32-C3驱动IN-12A与170V升压电路设计

立创开源复古辉光管时钟DIY全解析:ESP32-C3驱动IN-12A与170V升压电路设计 最近在捣鼓一个特别有感觉的复古小玩意儿——辉光管时钟。看着那橘红色的数字在玻璃管里幽幽亮起,瞬间有种穿越回上世纪的感觉。很多朋友看了我做的成品都心痒痒,但一…...

提示工程架构师必学:Agentic AI中的强化学习结合策略

提示工程架构师必学:Agentic AI中的强化学习结合策略 引言 背景介绍 在当今人工智能的快速发展浪潮中,Agentic AI(智能体人工智能)正逐渐成为研究和应用的热点。Agentic AI旨在构建能够自主感知环境、做出决策并采取行动以实现特定…...

Qwen3-ASR-1.7B在网络安全中的应用:声纹识别反欺诈系统

Qwen3-ASR-1.7B在网络安全中的应用:声纹识别反欺诈系统 你有没有想过,电话那头自称是“银行客服”的人,可能根本就不是他本人?或者,一个看似正常的语音验证环节,背后其实是一场精心策划的欺诈?…...

具身智能的“巧手”与“分寸感”:深度解析力位混合控制

具身智能的“巧手”与“分寸感”:深度解析力位混合控制 引言:从“硬碰硬”到“刚柔并济”的机器人进化想象一下,让一个工业机器人去拿一枚生鸡蛋,或为一位老人提供柔顺的搀扶。传统的、只关注精确到毫米的“位置控制”机器人可能会…...

Python入门项目:调用Lingbot-Dretrain-ViTL-14 API制作你的第一张AI深度图

Python入门项目:调用Lingbot-Depth-ViTL-14 API制作你的第一张AI深度图 想用Python做点有趣又酷炫的东西吗?今天咱们不写“Hello World”,也不做计算器,而是直接上手,用几行代码让AI帮你分析图片的深度信息&#xff0…...

ESP32-H2外设协同架构:MCPWM、RMT与ETM硬件闭环设计

ESP32-H2-WROOM-02C 外设架构与电气特性深度解析:从寄存器级控制到工程落地实践1. 高精度电机控制外设:MCPWM 模块的全栈实现路径ESP32-H2 的电机控制脉宽调制器(MCPWM)并非传统意义上的“增强型 PWM”,而是一个具备完…...

vLLM+Chainlit组合为何适合glm-4-9b-chat-1m?技术选型深度解析

vLLMChainlit组合为何适合glm-4-9b-chat-1m?技术选型深度解析 在大模型部署和应用开发领域,技术选型往往决定了项目的成败。今天我们来深度解析为什么vLLM与Chainlit的组合特别适合部署和调用glm-4-9b-chat-1m这样的超长上下文大模型。 1. 理解glm-4-9…...

javascript零基础入门指南:用快马平台生成你的第一个交互式计算器

最近想学JavaScript,但对着空白的编辑器总感觉无从下手。理论看了不少,可一动手就卡壳。后来发现,其实最好的学习方法就是“做点东西出来”。于是,我决定从最经典的练手项目——一个网页计算器开始。这个项目麻雀虽小,…...

3.11 PowerBI矩阵可视化进阶:利用计算组实现动态小计与多条件格式配置

1. 为什么你的矩阵报表总是不够“聪明”? 如果你用过PowerBI的矩阵视觉对象,肯定遇到过这样的尴尬:老板想在一张表里,既能看到每个月的明细数据,又能看到截止到当前月份的累计值(也就是常说的YTD&#xff0…...

Linux 0.11 进程状态变迁的日志追踪与性能分析实践

1. 为什么我们要追踪进程的一生? 如果你刚开始学习操作系统,或者对Linux内核充满好奇,但又觉得那些抽象的概念——比如“进程状态”、“调度”、“上下文切换”——听起来像天书,那么我强烈建议你试试这个实验。我自己当年就是这么…...

Windows 11下CH340驱动版本回溯:解决串口“幽灵设备”的实战指南

1. 问题重现:当你的串口设备成了“幽灵” 不知道你有没有遇到过这种让人抓狂的情况:你兴冲冲地插上你的Arduino开发板、ESP32模块,或者任何一个依赖CH340芯片的USB转串口设备,Windows 11的设备管理器里明明白白地显示着“USB-SERI…...

Uniapp中renderjs解决three.js在APP中的通信阻塞问题

1. 为什么你的Uniapp APP里,three.js动画卡成了PPT? 如果你正在用Uniapp开发APP,并且想在里边搞点酷炫的3D效果,比如展示个产品模型、做个AR预览,那你大概率会想到用three.js。但当你兴冲冲地把Web端跑得飞起的three.j…...

【技术纵览】从KF到IEKF:状态估计算法的演进脉络与工程选型指南

1. 引言:从“猜”到“算”,状态估计的进化之路 想象一下,你正在玩一个第一人称视角的无人机飞行游戏。屏幕中央是你的视角,但画面偶尔会卡顿、抖动,甚至出现短暂的错位。为了让你能流畅地操控,游戏引擎必须…...

CAN总线通信:从基础原理到实际应用解析

1. CAN总线到底是什么?为什么它如此重要? 如果你接触过汽车电子或者工业自动化,那么“CAN总线”这个词你一定不陌生。它就像我们身体里的神经系统,负责在不同的“器官”(电子控制单元)之间快速、可靠地传递…...

在无外网环境下部署Prometheus与Grafana:构建企业级可视化监控平台

1. 为什么要在内网“从零到一”搭建监控平台? 很多朋友一听到“监控”,可能第一反应是“云上不是有现成的服务吗?”或者“开源工具直接apt-get install不就好了?”。这话没错,但在很多真实的公司环境里,尤…...

Zed Editor 进阶:打造高效 C++ 开发工作流(集成 CMAKE 与 MinGW-w64)

1. 环境准备与工具链深度配置 很多朋友在初次接触 Zed Editor 进行 C 开发时,可能会觉得它只是个“快”的编辑器,配置起来比成熟的 IDE 麻烦。我刚开始也这么想,但折腾了几轮之后发现,一旦把 CMAKE 和 MinGW-w64 这套工具链理顺了…...

从零到一:GLM-4.6 + Claude Code YOLO模式实战配置指南(告别Sonnet依赖)

1. 为什么你需要这份配置指南? 最近几个月,我身边不少搞开发的朋友都在跟我吐槽,说之前用得好好的Claude Code突然就不灵了。要么是API额度被砍得厉害,跑几个任务就告急;要么是账号莫名其妙被限制,搞得项目…...

GitHub 2FA 双因素认证实战:Microsoft Authenticator 应用配置与安全备份指南

1. 为什么你的GitHub账户急需2FA双因素认证? 如果你是一个开发者,GitHub账户里存放的可能远不止几行代码。那里有你的开源项目、私人仓库、协作团队,甚至可能关联着你的求职简历和职业声誉。想象一下,如果某天你突然无法登录&…...

从局部对比度到注意力机制:ALCNet如何革新红外小目标检测

1. 红外小目标检测:一个“大海捞针”的经典难题 大家好,我是老张,在AI和计算机视觉领域摸爬滚打了十几年,尤其对红外图像处理这块儿情有独钟。今天想和大家深入聊聊一个听起来就挺“硬核”的话题——红外小目标检测。你可能觉得这…...