人脸识别与大模型问答
This commit is contained in:
parent
0ad768c81f
commit
25a22cb0f8
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="body-container">
|
<div class="body-container">
|
||||||
<div class="intro-video-box">
|
<div class="intro-video-box">
|
||||||
<video controls :poster="poster" width="100%" height="100%">
|
<video controls :poster="poster" width="100%" height="50%">
|
||||||
<source :src="videoSrc" type="video/mp4"/>
|
<source :src="videoSrc" type="video/mp4"/>
|
||||||
不好意思,视频走丢了
|
不好意思,视频走丢了
|
||||||
</video>
|
</video>
|
||||||
|
|
@ -12,7 +12,9 @@
|
||||||
<span class="title">AI平台简介</span>
|
<span class="title">AI平台简介</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="intro-video-text">
|
<div class="intro-video-text">
|
||||||
数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示数据展示
|
安徽博诺思信息科技有限公司是一家与中国科学技术大学、中国科学技术大学先进技术研究院校企共建高新技术企业,落户于中国科学技术大学先进技术研究院,注册资本1515.15万元。专业从事人工智能、大数据分析、物联网技术研究和电力、教育行业的应用系统自主研发、系统集成、安防监控、咨询和技术服务的高新技术企业。
|
||||||
|
公司依托科大先进技术研究院、合肥工业大学、安徽大学等高校和研究院丰富的技术资源和研发成果,凭借先进的经营理念,坚持“求实、创新”的企业精神,本着以质量求生存,以服务树口碑的经营宗旨,不断开拓市场,为客户提供解决方案和应用效果。
|
||||||
|
公司秉承专业、专注的服务理念、关注客户需求、执着于追求质量与服务的结合、致力于成为软件开发和系统集成行业、物联网技术行业、智能安防行业的中坚力量。我们期待着与您携手共进、同创美好未来。
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,114 +1,18 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="body-container">
|
<div class="body-container">
|
||||||
<div class="boxMidTwoc">
|
<div v-for="section in sections" :key="section.title" class="box">
|
||||||
<div class="boxMidLevelThreec">违章智能识别</div>
|
<div class="box-title">{{ section.title }}</div>
|
||||||
<div class="midIconMainc">
|
<div class="box-container">
|
||||||
<div class="midIconc">
|
<div v-for="icon in section.icons" :key="icon.text" class="box-container-ico">
|
||||||
<a href="javascript:;" class="midIconLinkc">
|
<a href="javascript:;" class="box-container-ico-img">
|
||||||
<img src="../../assets/images/midOneIcon.png" alt="error" class="midIconLinkPicc"
|
<img :src="icon.imgSrc" alt="error" @click="handleClick(icon.route)">
|
||||||
@click="goToVideo"></a>
|
</a>
|
||||||
<div class="midTextc">安全帽识别</div>
|
<div class="box-container-ico-text">{{ icon.text }}</div>
|
||||||
<div class="hatInsertc"><span class="bigTextc">{{ hatNum }}</span><span
|
<div v-if="icon.num!==undefined" class="box-container-ico-num">
|
||||||
class="smallTextc">(次)</span>
|
<span class="bigTextc">{{ icon.num }}</span>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="midIconc">
|
|
||||||
<a href="javascript:;" class="midIconLinkc">
|
|
||||||
<img src="../../assets/images/midTwoIcon.png" alt="error" class="midIconLinkPicc"
|
|
||||||
@click="goToVideo"></a>
|
|
||||||
<div class="midTextc midTextSecc">安全带识别</div>
|
|
||||||
<div class="hatInsertc"><span class="bigTextc">{{ seatBeltNum }}</span><span
|
|
||||||
class="smallTextc">(次)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="midIconc ">
|
|
||||||
<a href="javascript:;" class="midIconLinkc">
|
|
||||||
<img src="../../assets/images/midThreeIcon.png" alt="error" class="midIconLinkPicc"
|
|
||||||
@click="goToVideo"></a>
|
|
||||||
<div class="midTextc midTextTrdc">电子围栏识别</div>
|
|
||||||
<div class="hatInsertc"><span class="bigTextc">{{ electFenceNum }}</span><span
|
|
||||||
class="smallTextc">(次)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="midIconc">
|
|
||||||
<a href="javascript:;" class="midIconLinkc">
|
|
||||||
<img src="../../assets/images/midFourIcon.png" alt="error" class="midIconLinkPicc"
|
|
||||||
@click="goToVideo"></a>
|
|
||||||
<div class="midTextc midTextFthc">更多场景扩展中</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="boxMidTwoc">
|
|
||||||
<div class="boxMidLevelThreec">OCR识别</div>
|
|
||||||
<div class="midIconMainc">
|
|
||||||
<div class="midIconc">
|
|
||||||
<a href="javascript:;" class="midIconLinkc">
|
|
||||||
<img src="../../assets/images/midSixIcon.png" alt="error" class="midIconLinkPicc"
|
|
||||||
@click="goToUpdateIDCard"></a>
|
|
||||||
<div class="midTextc midTextSthc">身份证识别</div>
|
|
||||||
<div class="hatInsertc"><span class="bigTextc">{{ idCardNum }}</span><span
|
|
||||||
class="smallTextc">(次)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="midIconc">
|
|
||||||
<a href="javascript:;" class="midIconLinkc">
|
|
||||||
<img src="../../assets/images/midFiveIcon.png" alt="error" class="midIconLinkPicc"
|
|
||||||
@click="goToViolation"></a>
|
|
||||||
<div class="midTextc midTextFithc">发票识别</div>
|
|
||||||
<div class="hatInsertc"><span class="bigTextc">{{ InvoiceNum }}</span><span
|
|
||||||
class="smallTextc">(次)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="midIconc ">
|
|
||||||
<a href="javascript:;" class="midIconLinkc">
|
|
||||||
<img src="../../assets/images/midSevenIcon.png" alt="error" class="midIconLinkPicc"
|
|
||||||
@click="goToText"></a>
|
|
||||||
<div class="midTextc midTextSevthc">文本识别</div>
|
|
||||||
<div class="hatInsertc"><span class="bigTextc">{{ textRecognitionNum }}</span>
|
|
||||||
<span class="smallTextc">(次)</span>
|
<span class="smallTextc">(次)</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="midIconc">
|
|
||||||
<a href="javascript:;" class="midIconLinkc">
|
|
||||||
<img src="../../assets/images/midFourIcon.png" alt="error" class="midIconLinkPicc"
|
|
||||||
@click="showPopup"></a>
|
|
||||||
<div class="midTextc midTextFthc">更多场景扩展中</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="boxMidTwoc">
|
|
||||||
<div class="boxMidLevelThreec">其他拓展服务</div>
|
|
||||||
<div class="midIconMainc">
|
|
||||||
<div class="midIconc">
|
|
||||||
<a href="javascript:;" class="midIconLinkc">
|
|
||||||
<img src="../../assets/images/midEightIcon.png" alt="error" class="midIconLinkPicc"
|
|
||||||
@click="goToAskRequest"></a>
|
|
||||||
<div class="midTextc">大模型问答</div>
|
|
||||||
<div class="hatInsertc"><span class="bigTextc">{{ largeModelNum }}</span><span
|
|
||||||
class="smallTextc">(次)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="midIconc">
|
|
||||||
<a href="javascript:;" class="midIconLinkc">
|
|
||||||
<img src="../../assets/images/midNineIcon.png" alt="error" class="midIconLinkPicc"
|
|
||||||
@click="goToUpdateFace"></a>
|
|
||||||
<div class="midTextc midTextFithc">人脸识别</div>
|
|
||||||
<div class="hatInsertc"><span class="bigTextc">{{ faceRecognitionNum }}</span><span
|
|
||||||
class="smallTextc">(次)</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="midIconc">
|
|
||||||
<a href="javascript:;" class="midIconLinkc">
|
|
||||||
<img src="../../assets/images/midFourIcon.png" alt="error" class="midIconLinkPicc"
|
|
||||||
@click="showPopup"></a>
|
|
||||||
<div class="midTextc midTextFthc">更多场景扩展中</div>
|
|
||||||
</div>
|
|
||||||
<div class="midIconc ">
|
|
||||||
<div class="hatInsertc"><span class="bigTextc"></span><span class="smallTextc"></span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -116,6 +20,15 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {getAlgoAppOverview} from '@/api/largeScreen/largeScreen.js'
|
import {getAlgoAppOverview} from '@/api/largeScreen/largeScreen.js'
|
||||||
|
import midEightIcon from '@/assets/images/midEightIcon.png';
|
||||||
|
import midNineIcon from '@/assets/images/midNineIcon.png'
|
||||||
|
import midOneIcon from '@/assets/images/midOneIcon.png'
|
||||||
|
import midTwoIcon from '@/assets/images/midTwoIcon.png'
|
||||||
|
import midThreeIcon from '@/assets/images/midThreeIcon.png'
|
||||||
|
import midFourIcon from '@/assets/images/midFourIcon.png'
|
||||||
|
import midSixIcon from '@/assets/images/midSixIcon.png'
|
||||||
|
import midFiveIcon from '@/assets/images/midFiveIcon.png'
|
||||||
|
import midSevenIcon from '@/assets/images/midSevenIcon.png'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'routeIcon',
|
name: 'routeIcon',
|
||||||
|
|
@ -129,55 +42,96 @@ export default {
|
||||||
textRecognitionNum: 0,
|
textRecognitionNum: 0,
|
||||||
largeModelNum: 0,
|
largeModelNum: 0,
|
||||||
faceRecognitionNum: 0,
|
faceRecognitionNum: 0,
|
||||||
routeIconNum: ''
|
sections: [
|
||||||
}
|
{
|
||||||
|
title: '图像识别',
|
||||||
|
icons: [
|
||||||
|
{text: '人脸识别', num: 0, imgSrc: midNineIcon, route: '/updateFace', textClass: 'midTextFithc'},
|
||||||
|
{text: '安全帽识别', num: 0, imgSrc: midOneIcon, route: '/Video'},
|
||||||
|
{text: '安全带识别', num: 0, imgSrc: midTwoIcon, route: '/Video', textClass: 'midTextSecc'},
|
||||||
|
{
|
||||||
|
text: '电子围栏识别',
|
||||||
|
num: 0,
|
||||||
|
imgSrc: midThreeIcon,
|
||||||
|
route: '/Video',
|
||||||
|
textClass: 'midTextTrdc'
|
||||||
},
|
},
|
||||||
// created() {
|
{
|
||||||
// this.routeIconNum = setInterval(() => {
|
text: '更多场景扩展中',
|
||||||
// this.getAlgoAppOverviewLC();
|
imgSrc: midFourIcon,
|
||||||
// }, 1000);
|
route: 'showPopup',
|
||||||
// },
|
textClass: 'midTextFthc'
|
||||||
methods: {
|
|
||||||
getAlgoAppOverviewLC() {
|
|
||||||
getAlgoAppOverview(4).then(res => {
|
|
||||||
try {
|
|
||||||
if (res.code == 200) {
|
|
||||||
this.hatNum = res.data.hatNum;
|
|
||||||
this.seatBeltNum = res.data.seatBeltNum;
|
|
||||||
this.electFenceNum = res.data.electFenceNum;
|
|
||||||
this.InvoiceNum = res.data.InvoiceNum;
|
|
||||||
this.idCardNum = res.data.idCardNum;
|
|
||||||
this.textRecognitionNum = res.data.textRecognitionNum;
|
|
||||||
this.largeModelNum = res.data.largeModelNum;
|
|
||||||
this.faceRecognitionNum = res.data.faceRecognitionNum;
|
|
||||||
}
|
}
|
||||||
} catch (error) {
|
]
|
||||||
this.$modal.msgError("算法应用次数获取失败,请刷新页面或者请求管理员");
|
},
|
||||||
this.$modal.closeLoading();
|
{
|
||||||
|
title: 'OCR识别',
|
||||||
|
icons: [
|
||||||
|
{
|
||||||
|
text: '身份证识别',
|
||||||
|
num: 0,
|
||||||
|
imgSrc: midSixIcon,
|
||||||
|
route: '/updateIDCard',
|
||||||
|
textClass: 'midTextSthc'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: '发票识别',
|
||||||
|
num: 0,
|
||||||
|
imgSrc: midFiveIcon,
|
||||||
|
route: '/Violation'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: '文本识别',
|
||||||
|
num: 0,
|
||||||
|
imgSrc: midSevenIcon,
|
||||||
|
route: '/Text',
|
||||||
|
textClass: 'midTextSevthc'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: '更多场景扩展中',
|
||||||
|
imgSrc: midFourIcon,
|
||||||
|
route: 'showPopup',
|
||||||
|
textClass: 'midTextFthc'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '智能问答',
|
||||||
|
icons: [
|
||||||
|
{text: '大模型问答', num: 0, imgSrc: midEightIcon, route: '/askRequest'},
|
||||||
|
{
|
||||||
|
text: '更多场景扩展中',
|
||||||
|
imgSrc: midFourIcon,
|
||||||
|
route: 'showPopup',
|
||||||
|
textClass: 'midTextFthc'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
}
|
}
|
||||||
}).catch(error => {
|
},
|
||||||
|
created() {
|
||||||
|
this.getAlgoAppOverviewLC();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
getAlgoAppOverviewLC() {
|
||||||
|
getAlgoAppOverview(4)
|
||||||
|
.then(res => {
|
||||||
|
if (res.code == 200) {
|
||||||
|
Object.assign(this, res.data);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(() => {
|
||||||
this.$modal.msgError("算法应用次数获取失败,请刷新页面或者请求管理员");
|
this.$modal.msgError("算法应用次数获取失败,请刷新页面或者请求管理员");
|
||||||
this.$modal.closeLoading();
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
goToAskRequest() {
|
handleClick(route) {
|
||||||
this.$router.beforeEach((to, from, next) => {
|
if (route === 'showPopup') {
|
||||||
if (from.path === '/askRequest') {
|
this.showPopup();
|
||||||
localStorage.clear();
|
} else {
|
||||||
|
this.$router.push(route);
|
||||||
}
|
}
|
||||||
next();
|
|
||||||
});
|
|
||||||
this.$router.push('/askRequest');
|
|
||||||
},
|
|
||||||
goToUpdateFace() {
|
|
||||||
this.$router.beforeEach((to, from, next) => {
|
|
||||||
if (from.path === '/updateFace') {
|
|
||||||
localStorage.clear();
|
|
||||||
}
|
|
||||||
next();
|
|
||||||
});
|
|
||||||
this.$router.push('/updateFace');
|
|
||||||
},
|
},
|
||||||
showPopup() {
|
showPopup() {
|
||||||
const h = this.$createElement;
|
const h = this.$createElement;
|
||||||
|
|
@ -185,132 +139,69 @@ export default {
|
||||||
title: '睿思AI平台',
|
title: '睿思AI平台',
|
||||||
message: h('i', {style: 'color: teal'}, '功能还在继续开发中,敬请期待!')
|
message: h('i', {style: 'color: teal'}, '功能还在继续开发中,敬请期待!')
|
||||||
});
|
});
|
||||||
},
|
|
||||||
goToText() {
|
|
||||||
this.$router.beforeEach((to, from, next) => {
|
|
||||||
if (from.path === '/Text') {
|
|
||||||
|
|
||||||
localStorage.clear();
|
|
||||||
}
|
}
|
||||||
next();
|
|
||||||
});
|
|
||||||
this.$router.push('/Text');
|
|
||||||
},
|
|
||||||
goToUpdateIDCard() {
|
|
||||||
this.$router.beforeEach((to, from, next) => {
|
|
||||||
if (from.path === '/updateIDCard') {
|
|
||||||
localStorage.clear();
|
|
||||||
}
|
|
||||||
next();
|
|
||||||
});
|
|
||||||
|
|
||||||
this.$router.push('/updateIDCard');
|
|
||||||
},
|
|
||||||
goToViolation() {
|
|
||||||
this.$router.beforeEach((to, from, next) => {
|
|
||||||
if (from.path === '/Violation') {
|
|
||||||
localStorage.clear();
|
|
||||||
}
|
|
||||||
next();
|
|
||||||
});
|
|
||||||
this.$router.push('/Violation');
|
|
||||||
},
|
|
||||||
goToVideo() {
|
|
||||||
this.$router.beforeEach((to, from, next) => {
|
|
||||||
if (from.path === '/Video') {
|
|
||||||
localStorage.clear();
|
|
||||||
}
|
|
||||||
next();
|
|
||||||
});
|
|
||||||
this.$router.push('/Video');
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style lang="scss">
|
||||||
.boxMidTwoc {
|
.box {
|
||||||
border-radius: 1%;
|
border-radius: 1%;
|
||||||
flex: 8;
|
height: 33.333333%;
|
||||||
margin-bottom: 1%;
|
|
||||||
height: 15rem;
|
|
||||||
border: 1px solid rgba(0, 255, 255, .3);
|
border: 1px solid rgba(0, 255, 255, .3);
|
||||||
}
|
margin-bottom: 1%;
|
||||||
|
|
||||||
.boxMidLevelThreec {
|
.box-title {
|
||||||
position: absolute;
|
height: 15%;
|
||||||
|
width: 100%;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
padding-left: 1.5rem;
|
padding: 1%;
|
||||||
padding-top: 0.5rem;
|
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
letter-spacing: 0.2rem;
|
letter-spacing: 0.2rem;
|
||||||
opacity: .8;
|
opacity: .8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.midIconMainc {
|
.box-container {
|
||||||
color: #ffffff;
|
height: 85%;
|
||||||
display: flex;
|
|
||||||
margin-top: 2.5rem;
|
|
||||||
height: 9rem;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
display: flex;
|
||||||
|
justify-content: flex-start;
|
||||||
|
|
||||||
.midIconc {
|
.box-container-ico {
|
||||||
flex: 1;
|
height: 90%;
|
||||||
padding-left: 1rem;
|
width: 20%;
|
||||||
padding-top: 1.5rem;
|
display: flex;
|
||||||
height: 7.5rem;
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
}
|
.box-container-ico-img {
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
.midIconLinkPicc {
|
img {
|
||||||
margin-top: -2rem;
|
height: 90%;
|
||||||
margin-left: 0.8rem;
|
width: 60%;
|
||||||
height: 8rem;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.midTextc {
|
.box-container-ico-text {
|
||||||
margin-left: 1rem;
|
font-size: 18px;
|
||||||
font-size: 1.2rem;
|
|
||||||
opacity: .5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hatInsertc {
|
|
||||||
margin-left: 2.5rem;
|
|
||||||
font-size: 0.8rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hatInsertc .bigTextc {
|
|
||||||
font-size: 1.9rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hatInsertc .smallTextc {
|
|
||||||
font-size: 1rem;
|
|
||||||
margin-left: 0.4rem;
|
margin-left: 0.4rem;
|
||||||
}
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
.midTextSecc {
|
.box-container-ico-num {
|
||||||
margin-left: 0.5rem
|
font-size: 18px;
|
||||||
}
|
height: 10%;
|
||||||
|
margin-top: 0.4rem;
|
||||||
.midTextTrdc {
|
color: #fff;
|
||||||
margin-left: 0;
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.midTextFthc {
|
|
||||||
margin-left: -0.3rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.midTextFithc {
|
|
||||||
margin-left: 1.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.midTextSthc {
|
|
||||||
margin-left: 0.7rem;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.midTextSevthc {
|
|
||||||
margin-left: 1.8rem;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue