0
  • 聊天消息
  • 系統(tǒng)消息
  • 評(píng)論與回復(fù)
登錄后你可以
  • 下載海量資料
  • 學(xué)習(xí)在線課程
  • 觀看技術(shù)視頻
  • 寫文章/發(fā)帖/加入社區(qū)
會(huì)員中心
創(chuàng)作中心

完善資料讓更多小伙伴認(rèn)識(shí)你,還能領(lǐng)取20積分哦,立即完善>

3天內(nèi)不再提示

玩嗨OpenHarmony:基于OpenHarmony的丟失兒童尋找系統(tǒng)

共熵服務(wù)中心 ? 來源:未知 ? 2022-11-30 19:45 ? 次閱讀
51CTO 開源基礎(chǔ)軟件社區(qū) #DAYU200體驗(yàn)官#丟失兒童尋找系統(tǒng)

1. 項(xiàng)目背景

根據(jù)《中國走失人口白皮書(2020)》,在整個(gè)2020年期間,我國走失人次達(dá)到了100萬。其中未成年人占7.4%,也就是說,兒童走失人口近74000人,而失蹤后找回來的大概只占到0.1%。一名走丟孩子的背后,都有一個(gè)破碎的家庭。

根據(jù)公安部兒童失蹤信息緊急發(fā)布平臺(tái)(“團(tuán)圓”系統(tǒng))數(shù)據(jù)顯示,兒童失蹤原因主要有被拐賣、離家出走、迷路走失、意外身亡等原因。走失事件往往容易轉(zhuǎn)變?yōu)楣召u等惡劣的刑事案件,有很多孩子,或者遇到了拐賣兒童的人販子,或者受到了意外傷害,最終給家庭帶來毀滅性災(zāi)難。

援救一個(gè)孩子,圓滿一個(gè)家。

2. 我們是誰?追尋者團(tuán)隊(duì)于2021年6月在鄭州輕工業(yè)大學(xué)梅科爾工作室成立,致力于尋找丟失兒童,使其闔家團(tuán)圓。團(tuán)隊(duì)成員之間優(yōu)勢(shì)互補(bǔ)、配合默契,分別負(fù)責(zé)算法設(shè)計(jì)、前后端開發(fā)、App開發(fā)、硬件開發(fā),在各自負(fù)責(zé)的領(lǐng)域發(fā)光發(fā)熱。在深度學(xué)習(xí)機(jī)器視覺方面,本團(tuán)隊(duì)成員具有濃厚的興趣和較為豐富的學(xué)習(xí)經(jīng)驗(yàn),致力于跨年齡人臉識(shí)別技術(shù)的學(xué)習(xí)和探索,將丟失兒童的識(shí)別和身份確認(rèn)作為項(xiàng)目發(fā)展方向。身為大學(xué)生的我們將社會(huì)責(zé)任牢記心中,在努力提升自身知識(shí)儲(chǔ)備和能力的同時(shí),為尋找丟失兒童事業(yè)竭盡心力。梅科爾工作室的老師和同學(xué)們?cè)跇O為有限的條件下讓價(jià)值最大化,工作室在老齡化、老年人康復(fù)、特殊人群關(guān)愛等方向發(fā)展良好,總計(jì)參與到60余個(gè)醫(yī)療項(xiàng)目的聯(lián)合創(chuàng)新開發(fā)中。

698fff68-70a3-11ed-8abf-dac502259ad0.png

3. 項(xiàng)目簡介

項(xiàng)目采用PyTorch和華為開源自研AI框架MindSpore,可以根據(jù)警方或他人提供的圖片判斷其是否為丟失兒童。同時(shí)還可以根據(jù)丟失兒童的時(shí)間長短,通過用戶上傳兒童的照片進(jìn)行預(yù)估并生成當(dāng)下的照片,更加便于家庭和警方尋找丟失兒童,幫助丟失兒童早日回歸家庭。

69e5baca-70a3-11ed-8abf-dac502259ad0.png

PyTorch是一套開源的利用深度學(xué)習(xí)進(jìn)行數(shù)據(jù)科學(xué)研究的重要框架。在靈活性、可讀性和性能上都具備相當(dāng)?shù)膬?yōu)勢(shì),近年來已成為學(xué)術(shù)界實(shí)現(xiàn)深度學(xué)習(xí)算法最常用的框架。

6a066590-70a3-11ed-8abf-dac502259ad0.png

MindSpore(昇騰)是華為開源的一款全場(chǎng)景深度學(xué)習(xí)框架,旨在實(shí)現(xiàn)易開發(fā)、高效執(zhí)行、全場(chǎng)景覆蓋三大目標(biāo)。其中,易開發(fā)表現(xiàn)為API友好、調(diào)試難度低;高效執(zhí)行包括計(jì)算效率、數(shù)據(jù)預(yù)處理效率和分布式訓(xùn)練效率;全場(chǎng)景則指框架同時(shí)支持云、邊緣以及端側(cè)場(chǎng)景。

項(xiàng)目主要分為算法端、硬件端、基于OpenHarmony的App以及Vue前端,主要用到的軟件有pycharm、idea、anaconda等。

算法端分為跨年齡人臉識(shí)別算法和人臉變老預(yù)測(cè)算法??缒挲g人臉識(shí)別算法通過使用MTCNN(多任務(wù)卷積神經(jīng)網(wǎng)絡(luò))設(shè)計(jì)三層級(jí)聯(lián)架構(gòu)的 CNN 算法進(jìn)行檢測(cè),提取出不受年齡干擾的身份特征,以此達(dá)到跨年齡人臉識(shí)別。人臉變老預(yù)測(cè)算法以GAN 為基礎(chǔ),并按照年齡、性別和語義分割對(duì)其進(jìn)行標(biāo)記,預(yù)測(cè)一個(gè)人在未來的樣貌,或者他在過去的樣貌。

網(wǎng)頁端是Vue前端,源代碼在Gitee上開源,用戶可通過網(wǎng)站查看上傳、搜尋以及查看丟失兒童信息,并且可以與我們進(jìn)行聯(lián)系和反饋。網(wǎng)頁端偏向信息查看等功能,更多的操作需要進(jìn)一步在App進(jìn)行使用。

移動(dòng)端目前為App。相對(duì)于微信小程序來說,App可以離線進(jìn)行部分功能操作,提高了產(chǎn)品的適應(yīng)面。通過網(wǎng)絡(luò)連接將信息存儲(chǔ)到服務(wù)器中,以達(dá)到多端信息互通。

4. 技術(shù)架構(gòu)

6a280100-70a3-11ed-8abf-dac502259ad0.png

5. 開發(fā)環(huán)境
  • DevEco Studio for OpenHarmony3.0.0.900

  • OpenHarmony版本:3.1_Release

  • 開發(fā)板:DAYU200

6a4c292c-70a3-11ed-8abf-dac502259ad0.png6. 部分源碼介紹6.1 首頁

6.1.1HTML

<element name='comp' src='../../components/tabbar/tabbar.hml'>element>
<div class="container">
    <div class="text">
        <text>丟失兒童尋找text>
    div>
    <div class="container1">
        <swiper autoplay="true" class="swiper">
            <image src="{{$item}}" for="{{imageList}}" class="img">image>
        swiper>
    div>
    <div class="text1">
        <div class="line_y">div>
        <text>今日推薦text>
    div>
    <image class="img1" src="../../common/images/a1.jpg">image>
    <image class="img1" src="../../common/images/a3.jpg">image>
    <comp index="0">comp>
div>

6.1.2JS源碼

export default {
    data: {
        title: "",
        imageList:['/common/images/2.jpg','/common/images/1.jpg','/common/images/3.jpg']
    },
    onInit() {
        this.title = this.$t('strings.world');
    },
    swipeToIndex(index) {
        this.$element('swiperImage').swipeTo({index: index});
    }
}
6.2 信息上傳6.2.1HTML源碼
<element name='comp' src='../../components/tabbar/tabbar.hml'>element>
<div class="container">
    <div class="text">
        <text>丟失兒童尋找text>
    div>
    <text class="title">走失人員信息text>
    <div class="input-item">
        <div class="color">
            <text class="input-title">姓名text>
            <input class="input" type="text" placeholder="請(qǐng)輸入文本">input>
        div>
    div>
    <div class="input-item">
        <div class="color">
            <text class="length-title input-title">年齡text>
            <input class="input" type="text" placeholder="請(qǐng)輸入走失時(shí)的年齡" maxlength="20" showcounter="false">input>
        div>
    div>
    <div class="input-item">
        <div class="color">
            <text class="input-title">性別text>
            <div class="radio-div">
                <select @change="changeFruit">
                    <option value="bananaValue">

                    option>
                    <option value="appleValue" selected="true">

                    option>
                select>
            div>
        div>
    div>
    <div class="input-item">
        <div class="color">
            <text class="input-title">走失日期text>
            <input class="input" type="date" placeholder="如:2021-11-27">input>
        div>
    div>
    <div class="container2">
        <text class="title2">您的詳細(xì)信息text>
        <div class="input-item">
            <div class="color">
                <text class="input-title">姓名text>
                <input class="input" type="text" placeholder="請(qǐng)輸入文本">input>
            div>
        div>


        <div class="input-item">
            <div class="color">
                <text class="input-title">性別text>
                <div class="radio-div2">
                    <select @change="changeFruit">
                        <option value="bananaValue">

                        option>
                        <option value="appleValue" selected="true">

                        option>
                    select>
                div>
            div>
        div>
        <div class="input-item">
            <div class="color">
                <text class="input-title">走失人員與您的關(guān)系text>
                <div class="checkbox-div">
                    <select @change="changeFruit">
                        <option value="bananaValue">
                            父子
                        option>
                        <option value="appleValue" selected="true">
                            母子
                        option>
                        <option value="pearValue">
                            父女
                        option>
                        <option value="pearValue2">
                            母女
                        option>
                    select>
                div>
            div>
        div>


        <div class="input-item">
            <div class="color">
                <text class="input-title">是否報(bào)警text>
                <switch showtext="true" texton="是" textoff="否" checked="true" @change="switchChange">
                switch>
            div>
        div>


        <div class="input-item">
            <div class="color">
                <text class="input-title">您的郵箱text>
                <input class="input" type="email" placeholder="方便我們聯(lián)系您">input>
            div>
        div>


        <div class="input-item">
            <div class="color">
                <text class="message-title input-title">請(qǐng)輸入手機(jī)號(hào)text>
                <input class="message-input" type="number" placeholder="請(qǐng)輸入手機(jī)號(hào)碼">input>
            div>
        div>




        <div class="color">
            <input class="message-input" type="number" placeholder="請(qǐng)輸入驗(yàn)證碼">input>
            <input class="message-button" type="button" value="獲取驗(yàn)證碼">input>
        div>




    div>


    <div class="input-item">
        <div class="color">
            <image class="img" src="../../common/images/camera.png">image>
            <button class="message-button" type="capsule" value="上傳圖片" @click="jump">button>


        div>
    div>
    <div class="input-item">
        <input class="confirm-button" type="button" value="確認(rèn)">input>
        <div class="text2">致力于幫助丟失兒童家庭尋找丟失兒童,讓寶貝早日回家div>
        <button class="message-button" type="capsule" value="提交" @click="jump2">button>
    div>


    <comp index="1">comp>


div>

6.2.2JS源碼

  import router from '@system.router';
export default {
    data: {
        title: ""
    },
    onInit() {
        this.title = this.$t('strings.world');
    },
    jump(){
        router.push({
            uri: 'pages/takePhoto/index',
        });


    },
    jump2(){
        router.push({
            uri: 'pages/submit/index',
        });


    }
}

6.3信息上傳

6.3.1HTML源碼

<element name='comp' src='../../components/tabbar/tabbar.hml'>element>
<div class="container">
    <div class="text">
        <text>丟失兒童尋找text>
    div>
    <text class="title">功能text>
    <text class="title1">服務(wù)電話:4000000000text>
    <image class="img" src="../../common/images/000.png">image>
    <comp index="2">comp>
div>

6.3.2JS源碼

export default {
    data: {
        title: ""
    },
    onInit() {
        this.title = this.$t('strings.world');
    }


}
6adb179a-70a3-11ed-8abf-dac502259ad0.gif 本文完寫在最后我們最近正帶著大家玩嗨OpenHarmony。如果你有好玩的東東,歡迎投稿,讓我們一起嗨起來!有點(diǎn)子,有想法,有Demo,立刻聯(lián)系我們:合作郵箱:zzliang@atomsource.org
6ae81d00-70a3-11ed-8abf-dac502259ad0.gif

6af5a8c6-70a3-11ed-8abf-dac502259ad0.png

6b188e22-70a3-11ed-8abf-dac502259ad0.png6b2bfffc-70a3-11ed-8abf-dac502259ad0.png6b60d8b2-70a3-11ed-8abf-dac502259ad0.png

6b7498f2-70a3-11ed-8abf-dac502259ad0.png

6c4ad5ca-70a3-11ed-8abf-dac502259ad0.png

6c6033fc-70a3-11ed-8abf-dac502259ad0.png

6c71d79c-70a3-11ed-8abf-dac502259ad0.png

6c9c2dda-70a3-11ed-8abf-dac502259ad0.png

6cca5124-70a3-11ed-8abf-dac502259ad0.png

6cdf5fd8-70a3-11ed-8abf-dac502259ad0.png

6cfaa2e8-70a3-11ed-8abf-dac502259ad0.png

6d16af4c-70a3-11ed-8abf-dac502259ad0.png

6d3a0b2c-70a3-11ed-8abf-dac502259ad0.png

6d4f232c-70a3-11ed-8abf-dac502259ad0.png

6d6a949a-70a3-11ed-8abf-dac502259ad0.png

6d7a340e-70a3-11ed-8abf-dac502259ad0.png

6dab6718-70a3-11ed-8abf-dac502259ad0.png

6dbfe8f0-70a3-11ed-8abf-dac502259ad0.png

6ddef4ca-70a3-11ed-8abf-dac502259ad0.png


原文標(biāo)題:玩嗨OpenHarmony:基于OpenHarmony的丟失兒童尋找系統(tǒng)

文章出處:【微信公眾號(hào):開源技術(shù)服務(wù)中心】歡迎添加關(guān)注!文章轉(zhuǎn)載請(qǐng)注明出處。


聲明:本文內(nèi)容及配圖由入駐作者撰寫或者入駐合作網(wǎng)站授權(quán)轉(zhuǎn)載。文章觀點(diǎn)僅代表作者本人,不代表電子發(fā)燒友網(wǎng)立場(chǎng)。文章及其配圖僅供工程師學(xué)習(xí)之用,如有內(nèi)容侵權(quán)或者其他違規(guī)問題,請(qǐng)聯(lián)系本站處理。 舉報(bào)投訴
  • 開源技術(shù)
    +關(guān)注

    關(guān)注

    0

    文章

    389

    瀏覽量

    7891
  • OpenHarmony
    +關(guān)注

    關(guān)注

    25

    文章

    3611

    瀏覽量

    15959

原文標(biāo)題:玩嗨OpenHarmony:基于OpenHarmony的丟失兒童尋找系統(tǒng)

文章出處:【微信號(hào):開源技術(shù)服務(wù)中心,微信公眾號(hào):共熵服務(wù)中心】歡迎添加關(guān)注!文章轉(zhuǎn)載請(qǐng)注明出處。

收藏 人收藏

    評(píng)論

    相關(guān)推薦

    第三屆OpenHarmony技術(shù)大會(huì)星光璀璨、致謝OpenHarmony社區(qū)貢獻(xiàn)者

    操作系統(tǒng),OpenAtom OpenHarmony(以下簡稱“OpenHarmony”)的進(jìn)步與發(fā)展離不開產(chǎn)業(yè)界、學(xué)術(shù)界及生態(tài)伙伴們的協(xié)力共建。OpenHarmony項(xiàng)目群技術(shù)指導(dǎo)委員
    的頭像 發(fā)表于 10-21 14:10 ?72次閱讀

    基于ArkTS語言的OpenHarmony APP應(yīng)用開發(fā):HelloOpenharmony

    1、程序簡介該程序是基于OpenHarmony標(biāo)準(zhǔn)系統(tǒng)編寫的UI應(yīng)用類:HelloOpenHarmony。本案例是基于API9接口開發(fā)。本案例已在OpenHarmony凌蒙派-RK35
    的頭像 發(fā)表于 09-15 08:09 ?212次閱讀
    基于ArkTS語言的<b class='flag-5'>OpenHarmony</b> APP應(yīng)用開發(fā):Hello<b class='flag-5'>Openharmony</b>

    【開源鴻蒙】使用QEMU運(yùn)行OpenHarmony輕量系統(tǒng)

    本文將會(huì)介紹如何從源碼安裝QEMU 6.2.0,以及如何使用QEMU運(yùn)行OpenHarmony輕量系統(tǒng)。通過本文,你將會(huì)對(duì)QEMU和OpenHarmony輕量系統(tǒng)又一個(gè)初步的認(rèn)知,并對(duì)
    的頭像 發(fā)表于 09-14 08:51 ?318次閱讀
    【開源鴻蒙】使用QEMU運(yùn)行<b class='flag-5'>OpenHarmony</b>輕量<b class='flag-5'>系統(tǒng)</b>

    OpenHarmony之開機(jī)優(yōu)化

    OpenHarmony已經(jīng)支持了Bootchart工具,我們可以直接使用Bootchart工具,Bootchart工具介紹如下: 概述 Bootchart是一個(gè)用于系統(tǒng)啟動(dòng)過程性能分析的開源軟件工具
    發(fā)表于 07-01 16:39

    淺談兼容 OpenHarmony 的 Flutter

    OpenHarmony SIG 組織在 Gitee 開源了兼容 OpenHarmony 的 Flutter。該組織主要用于孵化 OpenHarmony 相關(guān)的開源生態(tài)項(xiàng)目。 ? ? ▲ 倉庫地址
    的頭像 發(fā)表于 02-02 15:22 ?530次閱讀
    淺談兼容 <b class='flag-5'>OpenHarmony</b> 的 Flutter

    openharmony開發(fā)應(yīng)用

    隨著智能設(shè)備的普及和多樣化,開發(fā)者們對(duì)于更加靈活、高效的操作系統(tǒng)需求與日俱增。在這個(gè)背景下,華為推出了OpenHarmony,一個(gè)全場(chǎng)景智能終端操作系統(tǒng)和生態(tài)平臺(tái)。本文將詳細(xì)探討
    的頭像 發(fā)表于 12-19 09:42 ?582次閱讀

    培育根技術(shù)人才 共建OpenHarmony根社區(qū)未來 | OpenHarmony打造下一代智能終端操作系統(tǒng)根社區(qū),繁茂人才生態(tài)

    點(diǎn)擊藍(lán)字 ╳ 關(guān)注我們 開源項(xiàng)目 OpenHarmony 是每個(gè)人的 OpenHarmony 2023年12月12日,OpenHarmony人才生態(tài)大會(huì)(以下簡稱“大會(huì)”)在上海召開。本次大會(huì)以
    的頭像 發(fā)表于 12-15 16:15 ?345次閱讀

    OpenHarmony Meetup 2023北京站圓滿舉辦

    meetup線下交流形式,解讀OpenHarmony作為下一代智能終端操作系統(tǒng)的新版本及成果轉(zhuǎn)化,提升開發(fā)者對(duì)OpenHarmony的關(guān)注度,普及OpenHarmony開發(fā)技能,加速開
    的頭像 發(fā)表于 11-28 21:10 ?571次閱讀
    <b class='flag-5'>OpenHarmony</b> Meetup 2023北京站圓滿舉辦

    精彩預(yù)告 | OpenHarmony即將亮相MTSC 2023

    伴,構(gòu)建了 42 款發(fā)行版,落地商用設(shè)備超過 210 款,覆蓋能源、金融、工業(yè)、航天、交通、醫(yī)療、教育、政務(wù)等各關(guān)鍵行業(yè),OpenHarmony 社區(qū)已成為“下一代智能終端操作系統(tǒng)根社區(qū)”。 MTSC
    發(fā)表于 11-22 10:28

    OpenHarmony 4.0 Release版本發(fā)布

    與業(yè)務(wù)場(chǎng)景的終端商用設(shè)備操作系統(tǒng)發(fā)行版及解決方案。以下正文轉(zhuǎn)自O(shè)penAtomOpenHarmony微信公眾號(hào)。OpenHarmony4.0Release版本如期而
    的頭像 發(fā)表于 11-18 08:02 ?451次閱讀
    <b class='flag-5'>OpenHarmony</b> 4.0 Release版本發(fā)布

    OpenHarmony技術(shù)大會(huì) | OpenHarmony技術(shù)俱樂部分論壇嘉賓金句

    點(diǎn)擊藍(lán)字 ╳ 關(guān)注我們 開源項(xiàng)目 OpenHarmony 是每個(gè)人的 OpenHarmony 原文標(biāo)題:OpenHarmony技術(shù)大會(huì) | OpenHarmony技術(shù)俱樂部分論壇嘉賓金
    的頭像 發(fā)表于 11-10 20:25 ?419次閱讀

    第二屆OpenHarmony技術(shù)大會(huì)隆重揭幕年度課題,為OpenHarmony技術(shù)發(fā)展指明方向

    在北京圓滿召開。作為國內(nèi)開源操作系統(tǒng)領(lǐng)域的一次盛大會(huì)議,本次大會(huì)匯聚行業(yè)權(quán)威大咖、技術(shù)專家、高校技術(shù)導(dǎo)師和業(yè)界開發(fā)者,共話下一代終端操作系統(tǒng)技術(shù)發(fā)展方向,共享OpenHarmony最新生態(tài)進(jìn)展與產(chǎn)業(yè)
    的頭像 發(fā)表于 11-04 14:55 ?378次閱讀
    第二屆<b class='flag-5'>OpenHarmony</b>技術(shù)大會(huì)隆重揭幕年度課題,為<b class='flag-5'>OpenHarmony</b>技術(shù)發(fā)展指明方向

    議程直擊 | 第二屆OpenHarmony技術(shù)大會(huì)——OpenHarmony技術(shù)俱樂部分論壇

    點(diǎn)擊藍(lán)字 ╳ 關(guān)注我們 開源項(xiàng)目 OpenHarmony 是每個(gè)人的 OpenHarmony 原文標(biāo)題:議程直擊 | 第二屆OpenHarmony技術(shù)大會(huì)——OpenHarmony技術(shù)
    的頭像 發(fā)表于 11-01 09:25 ?392次閱讀
    議程直擊 | 第二屆<b class='flag-5'>OpenHarmony</b>技術(shù)大會(huì)——<b class='flag-5'>OpenHarmony</b>技術(shù)俱樂部分論壇

    OpenHarmony Meetup 2023成都站圓滿舉辦

    meetup線下交流形式,解讀OpenHarmony作為下一代智能終端操作系統(tǒng)的新版本及成果轉(zhuǎn)化,提升開發(fā)者對(duì)OpenHarmony的關(guān)注度,普及OpenHarmony開發(fā)技能,加速開
    的頭像 發(fā)表于 10-28 16:20 ?486次閱讀
    <b class='flag-5'>OpenHarmony</b> Meetup 2023成都站圓滿舉辦

    OpenHarmony年度課題揭曉

    點(diǎn)擊藍(lán)字 ╳ 關(guān)注我們 開源項(xiàng)目 OpenHarmony 是每個(gè)人的 OpenHarmony 技術(shù)的發(fā)展一直是推動(dòng)社會(huì)進(jìn)步的重要力量,而終端操作系統(tǒng)的發(fā)展更是關(guān)系到我們?nèi)粘I钪械姆椒矫婷妗=衲甑?
    的頭像 發(fā)表于 10-27 19:50 ?318次閱讀