Build a CAMERA APP in REACT JS! | Easy Tutorial!

  Рет қаралды 45,458

Tyler Potts

Tyler Potts

Күн бұрын

Learn how to build a camera web app using React JS. We look into how you can utilize React's "useRef" method to access DOM elements and create a web camera app in your browser!
// JOIN THE NEW DISCORD SERVER!
/ discord
// FOLLOW ME ON TWITTER
/ tyler_potts_
// INTERESTED IN GAME DEV?
Game development channel: / muddywolf
// CHECK OUT MY GAME
play.google.co...
// DO THESE SIMPLE STEPS
LIKE, SUBSCRIBE & SHARE

Пікірлер: 93
@jonatasfreitas3823
@jonatasfreitas3823 3 жыл бұрын
Amazing! It helped me a lot with my college work. Greetings from Brazil 🇧🇷, Tyler
@TylerPotts
@TylerPotts 3 жыл бұрын
I'm happy it helped!
@DouglasG96
@DouglasG96 3 жыл бұрын
Thank you man, greetings from El Salvador! 😎✌
@therollingambit5222
@therollingambit5222 3 жыл бұрын
Awesome video, even better sense of humour 🤣
@TylerPotts
@TylerPotts 3 жыл бұрын
Glad you enjoyed it! I do try to be funny, it doesn't always end up that way though xD
@kresnofatihimani8402
@kresnofatihimani8402 3 жыл бұрын
awesome tutorial. i see you're a man of culture as well from your wallpaper xD
@TylerPotts
@TylerPotts 3 жыл бұрын
You know it!
@AnkitTiwari-dq7qm
@AnkitTiwari-dq7qm Жыл бұрын
I love your intro😍
@Ahm3dAshour
@Ahm3dAshour 3 жыл бұрын
goooooood we need more creativity video like that use react
@TylerPotts
@TylerPotts 3 жыл бұрын
Thank you
@craiggerhardstein7305
@craiggerhardstein7305 12 күн бұрын
you could have just move to the directory the project was in inside your terminal and then just type code . then hit enter the project will open in VScode
@KeshavBhardwaj-eu5tx
@KeshavBhardwaj-eu5tx 8 күн бұрын
do you know how can i access this on my phone
@huanth
@huanth 2 жыл бұрын
can you add overlay on camera, when take a photo, the photo will have that overlay
@cheeseburgers4970
@cheeseburgers4970 Жыл бұрын
nice and clear tutorial !, now can we end the usage of camera?
@waleedsharif618
@waleedsharif618 3 жыл бұрын
Could you make video on rtsp live streaming using reactjs?
@ThunderboltPath
@ThunderboltPath 2 жыл бұрын
Awesome, I like your style!
@TylerPotts
@TylerPotts 2 жыл бұрын
Thank you! Cheers!
@daga-shiya9454
@daga-shiya9454 2 жыл бұрын
Thanks for the amazing video! I was wondering if there's a way to record video and audio using this method, instead of just taking a photo
@emmanuelakogwu7761
@emmanuelakogwu7761 3 жыл бұрын
nice and super helpful, thank you tyler. how can one get the snap and send to a backend?
@TylerPotts
@TylerPotts 3 жыл бұрын
Good question! I can't explain it over text so I'll add it to my videos to create :)
@IUsamaKhan
@IUsamaKhan 2 жыл бұрын
@@TylerPotts kindly add it asap
@shobitkhatri9242
@shobitkhatri9242 9 ай бұрын
Thank you so much buddy for this video
@TylerPotts
@TylerPotts 9 ай бұрын
You're welcome
@davidhernandez9275
@davidhernandez9275 Жыл бұрын
Thanks! Does this also work if I am on mobile or for that I would need to use react native?
@geraldofebrian7119
@geraldofebrian7119 3 жыл бұрын
Thanks Tyler !
@TylerPotts
@TylerPotts 3 жыл бұрын
No, thank you, Geraldo!
@mihirdoshi1262
@mihirdoshi1262 3 жыл бұрын
Thank you for amazing content, executed perfectly.
@TylerPotts
@TylerPotts 3 жыл бұрын
You're very welcome!
@KeshavBhardwaj-eu5tx
@KeshavBhardwaj-eu5tx 8 күн бұрын
the video isn' t visible on my phone WHY?
@sakshamjaiswal4025
@sakshamjaiswal4025 3 жыл бұрын
amazing man loved it
@mfoxtv49
@mfoxtv49 2 жыл бұрын
Great video!
@usamakhan8611
@usamakhan8611 2 жыл бұрын
How the video module be on? And where will it be stored? If there is any link giving such information. Kindly share.
@Ebizzill
@Ebizzill 2 жыл бұрын
how would I store the image?
@dineshm3856
@dineshm3856 2 жыл бұрын
how to use flash on/off/auto which needs to support Android and iOS
@mayank27aswal
@mayank27aswal 2 жыл бұрын
Really awesome. Could this work with a mobile app through a PWA though? I am making a PWA right now and looking for camera
@ArunaY-p6d
@ArunaY-p6d 6 ай бұрын
excellent vedio
@mohsinsayyad6347
@mohsinsayyad6347 Жыл бұрын
Getusermedia is not working in iphone 14
@lingeshvirinmoonsamy8692
@lingeshvirinmoonsamy8692 3 жыл бұрын
awesome video, thanks so much!
@TylerPotts
@TylerPotts 3 жыл бұрын
Glad you liked it!
@gnrtr
@gnrtr 3 жыл бұрын
is anyway to get the base64 image of the photo?
@TylerPotts
@TylerPotts 3 жыл бұрын
hmm from the top of my head I have no idea but I'm pretty sure you can! I can't remember how I done this tutorial but I'm sure we use base64 or maybe that was the vuejs version
@sebastiangrosswang7141
@sebastiangrosswang7141 3 жыл бұрын
Did you find a solution?
@gnrtr
@gnrtr 3 жыл бұрын
@@sebastiangrosswang7141 I used react-webcam from npm
@leolima3757
@leolima3757 Жыл бұрын
So good, thank you.
@Cocoprep
@Cocoprep 5 ай бұрын
uhm idk how to open the black screen thing...
@hayfachouchene1285
@hayfachouchene1285 2 жыл бұрын
amazing tutotrial !! i really enjoyed it ! keep rocking 🔥🔥🔥
@TylerPotts
@TylerPotts 2 жыл бұрын
Glad you liked it!!
@ahmedelgamal4741
@ahmedelgamal4741 3 жыл бұрын
Hi Mr please can you tell us how you colored code !? Ext name please!?
@ryanmanchikanti6310
@ryanmanchikanti6310 3 жыл бұрын
Is there a way to save the captured image or download it ? , i'd really appreciate your help !
@TylerPotts
@TylerPotts 3 жыл бұрын
Good question, you can but I cant explain via text so I'll put it in my video list!
@tunjimubarakazeez8300
@tunjimubarakazeez8300 2 жыл бұрын
Have you done a video on how to save the pictures snapped?
@IUsamaKhan
@IUsamaKhan 2 жыл бұрын
@@TylerPotts kindly share the video of this, i am working on my Final Year Project that is detecting lips, and i have to record the video using reactJS. Through it, the video should be stored in the database from where i'll be able to train my model.
@ArturoN
@ArturoN 3 жыл бұрын
Great!
@magikarp2063
@magikarp2063 3 жыл бұрын
Will this work with ios and android cameras?
@rahuldutta8386
@rahuldutta8386 2 жыл бұрын
did it work bro... want to add in pwa
@magikarp2063
@magikarp2063 2 жыл бұрын
@@rahuldutta8386 I think so haha, sorry I don't really remember.
@rahuldutta8386
@rahuldutta8386 2 жыл бұрын
@@magikarp2063 ok bro no problem
@yugeshkk3062
@yugeshkk3062 2 жыл бұрын
How do you stop the camera.
@rangabharath4253
@rangabharath4253 3 жыл бұрын
Awesome
@yugeshkk3062
@yugeshkk3062 2 жыл бұрын
How do you save that photo in localstorage.
@khoilam7569
@khoilam7569 3 жыл бұрын
hey bro, how to avoid rotate video
@TylerPotts
@TylerPotts 3 жыл бұрын
Sorry I'm not sure? You may have to rotate the canvas?
@programmerrdai
@programmerrdai 3 жыл бұрын
Cool
@zihanbayeed42
@zihanbayeed42 2 жыл бұрын
hey man great stuff. one question, have you thought about sharing a link to the code?
@alisood9200
@alisood9200 2 жыл бұрын
Thanks bro
@TylerPotts
@TylerPotts 2 жыл бұрын
:D
@luisfelipemedinarodriguez8478
@luisfelipemedinarodriguez8478 3 жыл бұрын
Code pls
@chayanont.charoen8071
@chayanont.charoen8071 2 жыл бұрын
Thankyou for tutorial , If I want to save the image from photography as file png jpg, how do I write it?
@bryanjesuscastrocoello2791
@bryanjesuscastrocoello2791 Жыл бұрын
hi brother i wanna do that could you help me please
@dansh
@dansh Жыл бұрын
Super helpful video. May I please ask how can I make it open on mobile? I used yarn and Vite to setup the app, and ran the dev server using "yarn dev --host", yes it doesn't load on mobile as it does on desktop
@KeshavBhardwaj-eu5tx
@KeshavBhardwaj-eu5tx 8 күн бұрын
did you got any solution
@alexlavertyau
@alexlavertyau Жыл бұрын
can you upload the code to a github repo ?
@suphotnarapong355
@suphotnarapong355 Жыл бұрын
Thank you
@karthicrajan8234
@karthicrajan8234 Жыл бұрын
getUserMedia() is not working in mobile browser it shows some error. Is there any other way to access the camera ?
@KeshavBhardwaj-eu5tx
@KeshavBhardwaj-eu5tx 8 күн бұрын
did you got any solution?
@tusharpasricha
@tusharpasricha 3 жыл бұрын
How to save this snap on any database?
@munnakhandakar1724
@munnakhandakar1724 3 жыл бұрын
do you get any help?
@TylerPotts
@TylerPotts 3 жыл бұрын
Good question, normally you'd save images to a server and then add a reference to the image via a database but I can't explain this over the comments.
@MandosaWright
@MandosaWright Жыл бұрын
I think there might be a way to save it as a binary or something like that, otherwise you would have to use service the digital ocean provides.
@dakshagarwal3997
@dakshagarwal3997 3 жыл бұрын
How to store the image???
@hanjarraess2923
@hanjarraess2923 2 жыл бұрын
so emezing, can i got exemple code
@prasannashivakoti3989
@prasannashivakoti3989 2 жыл бұрын
I think it is not working in..mobile devices
@paraggaikwad01
@paraggaikwad01 2 жыл бұрын
Can anyone of you please share the code? I'm getting errors.
@soulfilip
@soulfilip 2 жыл бұрын
so much satisfaction pressing the 'm' while reproducing the video ~~
@ChandraRam
@ChandraRam 2 жыл бұрын
give me github link for this code
@TylerPotts
@TylerPotts 2 жыл бұрын
Sorry if its not in the description then it was probably deleted.
@dalandan8300
@dalandan8300 2 жыл бұрын
lol
@igdagusryankurniantara1053
@igdagusryankurniantara1053 8 ай бұрын
It doesnt work if i open from phone, it cant access phone camera
@KeshavBhardwaj-eu5tx
@KeshavBhardwaj-eu5tx 8 күн бұрын
did you got any solution?
Build a Quote Generator in REACT JS | A React JS Beginner Project
22:00
Build a Camera App in Vue JS
18:55
Tyler Potts
Рет қаралды 4 М.
Build a Recipe App With React | React Tutorial For Beginners
48:10
developedbyed
Рет қаралды 780 М.
Intro to Java Programming - Course for Absolute Beginners
3:48:25
freeCodeCamp.org
Рет қаралды 3,7 МЛН
Create a Fun Palindrome Checker with HTML, CSS & JavaScript
20:57
DevLab Tutorials
Рет қаралды 17
React JS Full Course | Build an App and Master React in 1 Hour
1:11:44
JavaScript Mastery
Рет қаралды 1,8 МЛН
Algebra 2 Introduction, Basic Review, Factoring, Slope, Absolute Value, Linear, Quadratic Equations
3:59:44
React Hooks Course - All React Hooks Explained
1:26:21
PedroTech
Рет қаралды 1,1 МЛН
СОБЕСЕДОВАНИЕ FRONTEND ЗП 220к JS, TS задачи
49:02
Кодерские собесы
Рет қаралды 93 М.