Lub suab tswj ntawm PC thiab RaspberryPi nrog Whisper

lub suab tswj ntawm pc thiab raspberry pi

Lub tswv yim ntawm qhov project yog muab cov lus qhia lub suab sib cuam tshuam los ntawm peb lub PC lossis peb Raspberry Pi siv lub suab-rau-ntawv Whisper qauv.

Peb yuav muab ib qho kev txiav txim uas yuav muab sau tseg, hloov dua siab tshiab rau hauv ntawv, nrog Whisper thiab tom qab ntawd txheeb xyuas kom ua tiav qhov kev txiav txim tsim nyog, uas tuaj yeem yog los ntawm kev ua tiav ib qho kev pab cuam kom muab hluav taws xob rau RaspberryPi pins.

Kuv yuav siv Raspberry Pi 2 qub, micro USB thiab kuv yuav siv lub suab-rau-ntawv qauv nyuam qhuav tso tawm los ntawm OpenAI, Ntxhi. Thaum kawg ntawm tsab xov xwm koj tuaj yeem pom me ntsis ntxhi.

Kav tsij nyeem ntxiv

Rau lub voj hauv Python

Lub voj voog hauv Python muaj qee qhov sib txawv dua li lwm yam lus programming. Kuv tso koj qhov kuv tab tom kawm kom tau tshaj tawm ntawm ib qho ntawm cov kev siv ntau tshaj plaws.

Hauv Python nws yog npaj rau iterate los ntawm ib qho khoom siv tsis tau, yog nws daim ntawv teev npe, ib yam khoom, lossis lwm yam khoom.

Cov qauv hauv qab no yog

Kav tsij nyeem ntxiv

Yuav ua li cas khiav .py cov ntaub ntawv

yuav ua li cas khiav .py cov ntaub ntawv nrog Python code

lub cov ntaub ntawv nrog .py extension muaj Python programming lus code. Ua li no thaum koj ua tiav cov ntaub ntawv uas ib ntus ntawm cov lej raug tua.

Tsis zoo li a .sh ntawv uas ua tiav cov lus qhia uas txhua qhov Linux system tuaj yeem ua tiav, rau cov ntaub ntawv .py ua haujlwm koj yuav tau nruab Python.

Nov yog thawj qhov uas koj yuav tsum tau ua yog tias koj xav pib kawm rau program nrog Python.

Kav tsij nyeem ntxiv

Yuav ua li cas hloov cov ntxhuav ntawm PDF rau Excel lossis CSV nrog Tabula

Tshaj tawm thiab hloov pdf rau csv thiab zoo tshaj

Saib cov ntaub ntawv keeb kwm muaj los ntawm lub chaw nruab ntug hauv huab cua hauv kuv lub nroog, kuv pom tias lawv tsuas muab lawv nraaj thiab rau rub tawm li PDFCov. Kuv tsis nkag siab vim li cas lawv tsis cia koj rub tawm hauv csv, uas yuav muaj txiaj ntsig ntau rau txhua tus.

Yog li kuv twb nrhiav ib qho lawm kev daws teeb meem kom dhau cov ntxhuav ntawm pdf mus rau csv lossis yog ib tus neeg xav ua hom Excel lossis Libre OfficeCov. Kuv nyiam csv vim tias nrog csv koj ua txhua yam koj tuaj yeem kho nws nrog sej thiab nws qhov chaw qiv ntawv lossis koj tuaj yeem yooj yim mus nqa nws mus rau hauv ib daim ntawv hla.

Raws li lub tswv yim yog kom ua tiav qhov kev thov tsis siv neeg, qhov kuv xav tau yog tsab ntawv los ua haujlwm nrog sej thiab qhov no yog qhov twg Tabula nkag los.

Kav tsij nyeem ntxiv

Yuav ua li cas rau nruab Keras thiab TensorFlow los ntawm backend ntawm Ubuntu

yuav ua li cas rau nruab keras ntawm ubuntu

Tom qab ua tiav qhov Tshuab kev kawm chav, Kuv tab tom nrhiav qhov twg txuas ntxiv. Cov chaw kawm txhim kho siv nyob rau hauv chav kawm Octave / Matlab kev tiv thaiv tsis yog cov neeg siv, yog li koj yuav tsum ua qhov leap rau qee yam kom zoo dua qub. Ntawm cov neeg sib tw uas tau pom zoo rau kuv feem ntau yog Keras, siv backend TensorFlowCov. Kuv tsis mus rau hauv yog hais tias Keras zoo dua li lwm cov cuab yeej lossis thav duab lossis seb puas xaiv TensorFlow lossis Theano Kuv tsuas yog yuav los piav qhia txog qhov nws tuaj yeem ntsia tau rau hauv Ubuntu.

Ua ntej kuv tau sim nruab nws los ntawm cov ntaub ntawv ntawm cov nplooj ntawv ntawm nplooj ntawv, thiab nws yog tsis yooj yim sua, Kuv ib txwm muaj qhov yuam kev, cov lus nug tsis tau daws. Thaum kawg kuv mus nrhiav cov lus qhia tshwj xeeb rau kev teeb tsa keras hauv Ubuntu li cas Thiab tsis tau kuv tau siv ob hnub siv sijhawm ntau hmo thaum hmo ntuj. Thaum kawg Kuv tau ua tiav nws thiab kuv cia koj li cas Kuv tau ua nws nyob rau hauv rooj plaub nws tuaj yeem lees txoj hauv kev rau koj.

Raws li peb tau ua raws li cov qib uas pom zoo los ntawm cov vev xaib uas kuv tawm ntawm koj los ntawm qhov chaw thaum kawg ntawm kev qhia, peb tab tom nruab PIP uas kuv tsis muaj, los tswj cov pob. pip hauv linux nws yog tias, kev tswj hwm pob khoom sau hauv nab hab sej.

sudo apt-mus nruab python3-pip sudo apt nruab python-pip

Kav tsij nyeem ntxiv