Cov txheej txheem:

Webcam Hla WiFi rau OBS: 5 Kauj Ruam
Webcam Hla WiFi rau OBS: 5 Kauj Ruam

Video: Webcam Hla WiFi rau OBS: 5 Kauj Ruam

Video: Webcam Hla WiFi rau OBS: 5 Kauj Ruam
Video: Красивая история о настоящей любви! Мелодрама НЕЛЮБОВЬ (Домашний). 2024, Kaum ib hlis
Anonim
Image
Image

Kuv xav kom tuaj yeem siv kuv lub vev xaib rau kev tshaj tawm yam tsis tau txuas rau kuv lub khoos phis tawj.

Hmoov zoo, Raspberry Pi tshwm sim thiab kuv tuaj yeem siv ib qho rau kev ua noj ua haus! Cov Lus Qhia no nyob nrog cov vis dis aus YouTube no kuv tau ua:

Yog koj xav tau kev pab ntxiv, koj tuaj yeem:

  • Tawm tswv yim ntawm no
  • Flick kuv cov lus ntawm twitter
  • Koom nrog kuv cov neeg rau zaub mov tsis sib xws

Khoom siv

  • Raspberry Pi (Kuv siv 3, tab sis txhua yam nrog wifi txuas yuav tsum ua tau zoo)
  • Zaub, HDMI cable thiab lwm yam
  • Keyboard & nas
  • 8GB sd card
  • Lub hwj chim muab ntsuas rau 2A
  • USB webcam (Kuv siv Logitech C920)

Kauj ruam 1: Teeb Up SD Card

Kev teeb tsa daim npav SD
Kev teeb tsa daim npav SD

Kuv yuav khiav nrawm los ntawm teeb tsa daim npav SD. Yog tias koj paub tias koj tab tom ua dab tsi lossis muaj daim npav thauj khoom ua ntej, xav tias yuav hla mus tom ntej.

Rau qhov haujlwm no peb yuav siv Raspbian, uas yog lub teeb Linux faib.

Peb tab tom yuav teeb tsa NOOBS, uas sawv rau Tshiab Tawm Ntawm Lub Box Software. Lub hom phiaj ntawm cov pib tshiab, nws yooj yim heev los teeb tsa thiab nws tso cai rau koj xaiv qhov kev ua haujlwm uas koj xav tau teeb tsa. Nws kuj tseem yuav raug teeb tsa ntawm SD daim npav ua ntej.

Txhawm rau pib, peb yuav mus rau https://www.raspberrypi.org/downloads/noobs/ thiab rub cov ntawv ZIP.

Thaum cov ntaub ntawv ZIP tau rub tawm, luam cov ntsiab lus rau hauv SD daim npav.

Thiab qhov ntawd yog nws, SD daim npav flashed.

Kauj ruam 2: Teeb tsa Pi

Teeb tsa Pi
Teeb tsa Pi
Teeb tsa Pi
Teeb tsa Pi

Tam sim no tsuas yog siv daim npav SD thiab muab tso rau hauv raspberry pi, ntsaws rau hauv lub vijtsam, keyboard, nas thiab lub zog thiab peb nyob deb.

Txuas lub zog yuav khau raj koj cov raspberry pi thiab thauj khoom NOOBS installer.

Txuas rau koj lub network WiFi ntawm no.

Koj yuav tsum pom ob peb yam kev ua haujlwm sib txawv muaj, tab sis peb yuav xaiv Raspbian thiab nyem rau nruab.

Kauj Ruam 3: Xiam oob qhab GUI thiab Hloov Hostname

Hauv lub davhlau ya nyob twg, nkag mus

sudo raspi-teeb tsa

Thiab lov tes taw GUI los ntawm kev khiav ntawm khau raj hauv kev xaiv khau raj thiab hloov lub npe host rau picam hauv (lossis xijpeem koj nyiam) hauv kev xaiv network.

Yog tias koj xav tau siv GUI vim li cas los xij, koj tuaj yeem nkag mus

pib x

hauv lub davhlau ya nyob twg.

Kauj ruam 4: Rub tawm/khiav Plhaub

Rub tawm/khiav Shells
Rub tawm/khiav Shells
Rub tawm/khiav Shells
Rub tawm/khiav Shells
Rub tawm/khiav Shells
Rub tawm/khiav Shells

Hauv lub davhlau ya nyob twg nkag

git clone

thiab ntaus nkag. Qhov no yuav rub tawm cov ntawv kuv twb tau ua lawm. Yog tias koj xav kom paub tseeb tias koj rub tawm tsis phem, koj tuaj yeem saib txhua yam ntawm no:

Tom ntej no, tseem nyob hauv lub davhlau ya nyob twg, ntaus ntawv

crontab -e

thiab ntaus nkag. Qhov no qhib cov ntaub ntawv uas tso cai rau peb los ua cov txheej txheem. Peb yuav nqes mus rau hauv qab siv tus xub xub thiab ntaus

@reboot/bin/sh /home/pi/pi-webcam-server/webcam.sh

Kuv tau suav nrog cov ntaub ntawv uas yog siv Raspberry pi lub koob yees duab module npe picam.sh, raws li kuv tau hais ua ntej, nws yog laggy heev, tab sis yog tias koj xav khiav qhov ntawd, tsuas yog siv @reboot/bin/sh/home/pi/pi -webcam-server/picam.sh hloov.

Nias CONTROL+O kom txuag tau cov ntaub ntawv, thiab CONTROL+X kom tawm tus editor.

Kauj ruam 5: OBS

OBS
OBS
OBS
OBS

Tam sim no raspberry pi tau teeb tsa thiab npaj mus. Rov pib dua pi thiab tshem txhua yam tab sis lub zog thiab lub vev xaib. Peb tsis xav tau cov zaub lossis nas/keyboard ntxiv lawm!

Txhua yam peb yuav tsum ua tam sim no yog tsim cov ntaub ntawv xov xwm hauv OBS. Tshem tawm cov ntawv hauv zos thiab hom

duab: 8099/

hauv qhov chaw nkag (lossis Pi tus IP chaw nyob).

Tos li ob peb feeb rau cov kwj kom thauj khoom thiab peb tau ua tiav!

Pom zoo: