Cov txheej txheem:

Tox & Pa oxygen rau Raspberry Pi 3: 5 Cov Kauj Ruam
Tox & Pa oxygen rau Raspberry Pi 3: 5 Cov Kauj Ruam

Video: Tox & Pa oxygen rau Raspberry Pi 3: 5 Cov Kauj Ruam

Video: Tox & Pa oxygen rau Raspberry Pi 3: 5 Cov Kauj Ruam
Video: ВОТ ЧТО ДЕЛАЕТ ВРАЧ ДЛЯ РАЗГОНА ГУСТОЙ КРОВИ! 2024, Hlis ntuj nqeg
Anonim
Tox & Pa oxygen rau Raspberry Pi 3
Tox & Pa oxygen rau Raspberry Pi 3
Tox & Pa oxygen rau Raspberry Pi 3
Tox & Pa oxygen rau Raspberry Pi 3

Hauv cov lus qhia no koj yuav kawm paub yuav teeb tsa thiab siv Toxygen ntawm Raspberry pi 3. Tab sis ua ntej cia tham txog Tox.

Tox yog txoj hauv kev encrypted tham thiab raws li nws lub vev xaib "Ib yam tshiab ntawm kev xa xov tam sim. Txawm hais tias nws yog kev lag luam lossis tsoomfwv, kev saib xyuas digital niaj hnub no tau nthuav dav. Tox yog ib qho yooj yim-rau-siv software uas txuas koj nrog phooj ywg thiab tsev neeg yam tsis muaj lwm tus. mloog hauv. Thaum lwm qhov kev pabcuam muaj npe loj xav kom koj them rau cov yam ntxwv, Tox yog dawb kiag li thiab tsis muaj kev tshaj tawm - mus ib txhis."

tox.chat/

Txhawm rau siv Tox koj xav tau tus neeg siv khoom thiab rau lub hom phiaj ntawd peb yuav teeb tsa thiab siv Toxygen: Toxygen yog hla-platform Tox tus neeg siv sau hauv Python3 ntshiab nrog ntau qhov tshwj xeeb xws li plugins thiab faux offline xa cov ntaub ntawv.

github.com/toxygen-project/toxygen

qhov teeb meem yog tias tsis muaj wiki rau kev teeb tsa ntawm raspberry pi yog vim li cas kuv thiaj ua qhov kev qhia no.

Feem ntau ntawm cov lus qhia no yog ua raws cov lus txib hauv dav hlau yog li cia txuas ntxiv thiab pib ntaus qee cov lus txib.

Kauj Ruam 1: Khoos Phis Tawj Peb Xav Tau

Kho vajtse Peb Xav Tau
Kho vajtse Peb Xav Tau

Ua ntej lub davhlau ya nyob twg peb yuav tsum teeb tsa kho vajtse. Peb yuav xav tau:

1. Raspberry pi 3

2. Ib daim npav SD. Nws tau pom zoo kom siv daim npav 16gb. Yog tias koj ua tiav kev teeb tsa qhov chaw siv yuav yog txog 6 gb thiab kuv pom tias hauv daim npav 16gb kev teeb tsa mus nrawm dua li daim npav 8gb.

3. Duab tshiab ntawm Raspbian Stretch nrog lub desktop los ntawm

Tsuas yog muab cov duab tso rau hauv daim npav sd lub zog ntawm koj li Raspberry pi thiab npaj mus rau qhov hloov tshiab thiab txhim kho nrog cov lus txib:

sudo apt-tau hloov tshiab thiab tom qab ntawd sudo apt-tau hloov tshiab. Thaum qhov kev hloov kho tiav sudo reboot thiab mus rau kauj ruam tom ntej.

Kauj Ruam 2: Cov Txheej Txheem Txhim Kho

Kev Txhim Kho Cov Kauj Ruam
Kev Txhim Kho Cov Kauj Ruam

Cov theem pib yog:

1. Nruab PortAudio nrog cov lus txib: sudo apt-get install portaudio19-dev

2. Nruab PyQt5 nrog cov lus txib: sudo apt-get install python3-pyqt5

3. Nruab OpenCV theem 3

4. Txhim kho toxcore nrog kev txhawb nqa toxav hauv koj li kab ke 4

5. Txhim kho cov pa oxygen: sudo pip3 teeb tsa cov pa

6. Khiav cov pa pa hauv lub davhlau ya nyob twg

Kauj ruam 3: Nruab OpenCV

Nruab OpenCV
Nruab OpenCV

Qhib lub davhlau ya nyob twg thiab pib ntaus ntawv:

1. sudo apt-tau nruab tsim-qhov tseem ceeb cmake pkg-teeb tsa

2. sudo apt-tau nruab libjpeg-dev libtiff5-dev libjasper-dev libpng12-dev

3. sudo apt-tau nruab libgtk2.0-dev libgstreamer0.10-0-dbg libgstreamer0.10-0 libgstreamer0.10-dev libv4l-0 libv4l-dev

4. sudo apt-tau nruab libavcodec-dev libavformat-dev libswscale-dev libv4l-dev libxvidcore-dev libx264-dev

5. sudo apt-tau nruab libatlas-base-dev gfortran nab-nabpy nab nab-scipy nab hab sej-matplotlib default-jdk ant libgtkglext1-dev v4l-utils

6. sudo apt-tau nruab python3-dev

7. sudo pip3 nruab numpy

Tam sim no peb yuav rub tawm OpenCV 3.3.0 thiab unpack nws:

1. wget -O opencv.zip https://github.com/Itseez/opencv/archive/3.3.0.zi …

2. unzip opencv.zip

Tsis tas li peb xav tau Lub Chaw Pabcuam Qiv:

1. wget -O opencv_contrib.zip

2. unzip qhib cv_contrib.zip

Cia peb pib tsim:

1. cd opencv-3.3.0

2. mkdir tsim

3. cd ua

4. cmake -D CMAKE_BUILD_TYPE = tso tawm

-D CMAKE_INSTALL_PREFIX =/usr/zos

-D INSTALL_C_EXAMPLES = OFF

-D INSTALL_PYTHON_EXAMPLES = ON

-D OPENCV_EXTRA_MODULES_PATH = ~/opencv_contrib-3.3.0/modules

-D BUILD_EXAMPLES = ON

-D ENABLE_NEON = ON..

ib lo lus txib ib zaug

Cia peb txuas ntxiv nrog cov hauv qab no:

1. sudo ua -j4

2. sudo ua nruab

3. sudo ldconfig

4. sudo nano /etc/ld.so.conf.d/opencv.conf - cov ntaub ntawv txt yuav tsis muaj dab tsi yog li cia ntxiv kab hauv qab no,/usr/local/lib txuag thiab tawm.

5. sudo ldconfig

6. sudo nano /etc/bash.bashrc. Cov ntawv no yuav ua tiav ntawm cov cai yog li mus nrog khawm pagedown thiab ntxiv cov kab hauv qab no thaum kawg ntawm cov ntawv:

PKG_CONFIG_PATH = $ PKG_CONFIG_PATH:/usr/local/lib/pkgconfig export PKG_CONFIG_PATH

txuag thiab tawm mus

Reboot koj Raspberry pi nrog cov lus txib sudo reboot

Kauj ruam 4: Nruab Toxcore

Nruab Toxcore
Nruab Toxcore

Ua ntej nruab toxcore peb xav tau 2 yam: a. libtoxav and b. libsodium. Tab sis ua ntej cia nruab qee lub tsev qiv ntawv.

1. sudo apt-get install build-essential libtool autotools-dev automake checkinstall check git yasm

- Rau A/V kev txhawb nqa, tseem nruab qhov kev tso npe nyob hauv ntu libtoxav. Nco ntsoov tias koj yuav tsum teeb tsa cov kev vam khom no ua ntej suav nrog toxcore.

1. sudo apt-tau nruab libopus-dev libvpx-dev pkg-teeb tsa

- Cia txuas ntxiv nrog kev teeb tsa ntawm libsodium:

1. git clone

2. cd libsodium

3. git checkout tags/1.0.3

4../autogen.sh

5./configure && kos

6. sudo checkinstall -install --pkgname libsodium --pkgversion 1.0.0 --nodoc

7. sudo ldconfig

8.cd wb..

- Ok peb yuav luag tiav. Tam sim no peb yuav suav sau cov kab mob toxcore thoob plaws:

1. git clone

2. cd txc

3. autoreconf -i

4./configure && ua

5. sudo ua nruab

Kauj Ruam 5: Pib Pa Pa - Teeb

Pib Toxygen - Teeb
Pib Toxygen - Teeb
Pib Toxygen - Teeb
Pib Toxygen - Teeb
Pib Toxygen - Teeb
Pib Toxygen - Teeb
Pib Toxygen - Teeb
Pib Toxygen - Teeb

Txhawm rau pib ua pa peb yuav tsum qhib lub davhlau ya nyob twg thiab hom: toxygen

- Thawj thawj zaug peb yuav tsum tsim qhov profile tshiab. Yog li nyem rau ntawm Profile lub npe thiab sau lub npe uas koj xav kom tshwm ntawm kev sib tham, nyem Tsim thiab txuas ntxiv nrog tus password.

- Tsim tus password zoo rau koj qhov profile thiab nco ntsoov tias tsis muaj txoj hauv kev rov qab tau nws. Yog tias koj tsis nco qab koj tus lej password koj yuav tsum tsim qhov profile tshiab.

- Tom ntej no koj yuav raug nug yog tias koj xav khaws cov ntaub ntawv koj tsuas yog tsim hauv cov ntawv tais ceev tseg. Nyem qhov koj nyiam thiab los ntawm kev nyem tom ntej lub vijtsam tseem ceeb yuav tshwm.

- Los ntawm txhaj rau ntawm lub npe profile koj tsuas yog teeb tsa nws yuav tshwm sim qhov profile teeb tsa qhov screen uas koj tuaj yeem teeb tsa ntau yam xws li tus avatar, theej koj daim npav ID lossis xa tus lej lwm yam.

Koj tseem tuaj yeem siv Tox ntawm Android los ntawm kev txhim kho Antox app los ntawm lub khw app.

Thiab qhov no yog txhua yam tam sim no koj tuaj yeem tham nrog tus phooj ywg zoo.

Pom zoo: