Raspberry Pi Cameras - The BIG Picture

Поделиться
HTML-код
  • Опубликовано: 23 июл 2024
  • I’m back with an in-depth look at choosing and using Raspberry Pi Cameras, including the new HQ Camera. All your Pi camera questions answered in one place, including how to repair a broken camera! Check out the Table of Contents below to jump to a specific section if you're in a hurry.
    Article with code:
    More articles and tutorials: dronebotworkshop.com
    Join the conversation on the forum: forum.dronebotworkshop.com
    Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/
    Seven years ago when the Raspberry Pi was updated to include a CSI camera connector it was game-changing. Since then thousands of projects have been built using cameras, and there is an extensive selection of cameras available.
    Today I’ll cover every aspect of the Raspberry Pi camera, starting with a simplified explanation of how the camera works. I’ll also answer the question everyone wants to know - can you do 4K video with the new HQ Camera?
    We’ll then see how to use the camera with both the command-line and from within your Python programs. I’ll also show you a GUI you can install to work with the camera if you’d prefer that.
    I‘ll even show you how to repair or upgrade a Version 2 camera by replacing its video sensor with an improved model that uses interchangeable lenses.
    And then we’ll put five Raspberry Pi cameras to the test, including the new HQ camera. And, just to see how good the quality of the images and video really can get, I'll also compare them all to a Canon EOS M100 camera. Maybe I can start filming RUclips videos with a Pi Camera!
    If you need information about the Raspberry Pi camera you’re sure to find it here or in the accompanying article on the DroneBot Workshop website at dbot.ws/picam. The article includes the simple Python code samples I used, plus links to some valuable resources.
    The article accompanying this video also has instructions for converting the H264 video files to MP4, and for streaming video using VLC Media Player. Stuff that I couldn't fit into an already very long video!
    Here is a breakdown of today's video, you can click on the timestamp to jump to the specific location:
    00:00 - Introduction
    01:55 - How Raspberry Pi Cameras work
    10:04 - Look at some cameras
    13:42 - HQ Camera Lens Installation
    14:53 - Hooking up the cable
    17:47 - Preparing the Raspberry Pi
    19:33 - Images and Video from the Command Line
    23:21 - Images and Video using Python
    28:02 - PiCameraApp GUI
    31:59 - Repairing a broken camera
    34:18 - Test Setup & Methodology
    38:52 - Image Tests (Color High)
    43:06 - Image Tests (Low Light)
    45:09 - Image Tests (B&W Focus)
    48:56 - Video Test Samples
    From the inexpensive Version 1 cameras to the new HQ Camera with interchangeable lenses, you’re sure to find a solution for your next image or video application here.
    Hope you enjoy the video!
    Bill
  • ХоббиХобби

Комментарии • 277

  • @Dronebotworkshop
    @Dronebotworkshop  4 года назад +69

    FINALLY another video, so sorry for the delay! It's a big one so if you want to skip to a specific section just use the Table of Contents that is in the description.
    I apologize for the lack of videos lately, should be another one very soon.

    • @Sherwin657
      @Sherwin657 4 года назад +3

      It's possible to have the chapters on the video timeline support.google.com/youtube/answer/9884579?hl=en

    • @lemono1664
      @lemono1664 4 года назад +3

      do one for the Jetson

    • @flojotube
      @flojotube 4 года назад +4

      DroneBot Workshop - this should say “FINALLY - Someone realizes that NOBODY before you considered a THOROUGH Rpi camera educational video that explains ALL OPTIONS!!!” Thank you. I’m STRUGGLING to even GET STARTED with my Rpi and all my fun gadgets that sit here collecting dust & depression.... Videos like this help a lot and provide encouragement.... Now all I need is the rest of the knowledge I’m missing... I’ve never wanted to learn something more, and never had such a hard time finding an easy to understand way to learn it. Sucks.

    • @electronpath
      @electronpath 4 года назад +5

      You do put a lot of work into your videos, and I guess quality > quantity.

    • @153SCORN
      @153SCORN 3 года назад

      I you want to use it as a CCTV over the WiFi - github.com/jacksonliam/mjpg-streamer?fbclid=IwAR1TIW2y4dFjNfSwIEQAZpxGWCilNi69YgPxsxVeEJ_LAFn3PyJDc6AliJY

  • @OsoPolarClone
    @OsoPolarClone 4 года назад +24

    I loved and chuckled reading your “hey don’t forget to do these things” notes on you video test image! I really enjoy your well thought out videos and well written articles.

  • @alekseikostikov27
    @alekseikostikov27 3 года назад +6

    Your channel has become one of the first resources I look to for information on a given subject.
    Thorough, accurate, pertinent information. No clickbait, sales pitch, or misinformation.
    I thank you for sharing your knowledge and for the time and effort you put into each of your videos. It literally saves a person incredible amounts of time, money not having to duplicate all of the testing you kindly share with us.

    • @MFJLabs
      @MFJLabs 2 года назад +1

      And no distracting music ... a HUGE thank you for that.

  • @TheOleHermit
    @TheOleHermit 4 года назад +2

    Watched this prior to purchasing my HQ cameras. Learned how to gstream dual RPi V2 cameras on the Jetson Xavier NX. Received the 2 HQ cameras and a StereoPi CM3+ board, but couldn't get beyond raspistill & raspivid. Spent the past week searching YT, wikis, & forums. Learned a lot about installing OpenCV, uv4l, etc. But, couldn't find the answers I needed until I reviewed this video and followed your links. Excellent tutorials!
    Thank you so much for showing us the light at the end of the tunnel.🙏
    Now, I simply gotta go & giterdun.😎💨

  • @Fred-lb5jp
    @Fred-lb5jp 3 года назад +1

    The greatest teacher in explaining electronics I have ever seen on RUclips and compares equally to my pneumatic instructor which was the best I ever encountered
    You have the right combination of a lot of great qualities to be able to transfer knowledge to people that want to learn about electronics, which is the future.

  • @TheUnofficialMaker
    @TheUnofficialMaker 4 года назад +3

    Glad to see you back and thanks for the effort to put together this outstanding information.

  • @beauregardslim1914
    @beauregardslim1914 4 года назад +14

    Thanks so much for this comprehensive overview.

  • @lawrencewheeler3573
    @lawrencewheeler3573 2 года назад +1

    Hi Bill
    You have set a high standard in presentation with de-mystifying and getting us fellow Life Long Learners up and running in practical applications.
    My new year wish is to work towards your standard in helping others.
    Cheers from a small farm in New Zealand
    Lx

  • @akust
    @akust 4 года назад

    so much information, so many details and tests of the different cameras.. great!
    Thank you!

  • @Richardj410
    @Richardj410 4 года назад

    Thanks I look forward to your videos, sometime waiting is a pain but it is always worth the wait.

  • @79ober
    @79ober 4 года назад +2

    as always, a very detailed and informative demo and explanation, great one!

  • @kdausu90
    @kdausu90 6 месяцев назад +1

    Very, very informative. Thank you so much!

  • @jonathanrash4146
    @jonathanrash4146 3 года назад +1

    Was looking for an overview exactly like this, thank you so much

  • @caminuslabs4750
    @caminuslabs4750 4 года назад +16

    Brilliant as always!

  • @AS-iu3pl
    @AS-iu3pl 4 года назад +1

    Awesome video. Really clear and in-depth explanation. Appreciated.

  • @BrianB2579
    @BrianB2579 4 года назад +2

    ......THanks for the great video and fine explanation of the Cameras..... from the UK

  • @MikeSpille
    @MikeSpille 3 года назад

    Great explanations and production. Very well done, sir. Thank you for sharing.

  • @jeffk412
    @jeffk412 3 года назад

    if there is a video more thorough about Raspberry pi cameras, well then I just would not believe it. Well done!

  • @ArulMoorthyM
    @ArulMoorthyM 4 года назад

    Very professionally done! Very much appreciated!!!

  • @tinkmarshino
    @tinkmarshino 4 года назад

    Well done Bill.. it has inspired me to dust off some of my cameras and even get a new one or two and set up a few little experiments... It has been a while since I have used one.. Glad to see you back by the way.. hope you are having a great summer! It is nice to know that during the cold and miserable winter time you will have more videos.. But it is time to make hay as they say.. see you in the funny papers..

  • @NewAgeDIY
    @NewAgeDIY 4 года назад +17

    A lot of time and effort has gone into this review. I’m sure it’s going to be a reference video on the Pi camera’s for years to come.
    Having used the V2 camera in my MotionEyesOS projects, I am aways impressed by the quality of my stills and videos my camera provides.
    Still waiting for stock on the Raspberry Pi hi-quality camera’s to be able purchase one.
    Thanks again for this review. Be safe and healthy and hope to you in your next video

  • @stevetobias4890
    @stevetobias4890 4 года назад +1

    Your workshops are bloody brilliant mate

  • @robertportelliiii7787
    @robertportelliiii7787 3 года назад +1

    This is a quality production. Thank you

  • @Stevon2012
    @Stevon2012 4 года назад

    Thanks, It was very informative. I just bought my first raspberry pi and so far, I love it. I want to write some new camera software, but that may take a while... If I do I will let you know, lol!

  • @tpobrienjr
    @tpobrienjr 4 года назад

    Thank you for a thorough presentation on RasPi cameras....

  • @MrBobWareham
    @MrBobWareham 2 месяца назад

    Thanks, Bill, that was a very informative video, as I want to start using my version 2 camera with my old v3 Pi and a bird box for next year in the garden. All the best Bob in the UK

  • @labsanity8049
    @labsanity8049 3 года назад

    nice camparison! thx for the effort. helps me a lot to decide which one to get

  • @distancelab2010
    @distancelab2010 4 года назад

    Excellent, thanks so much for all your work. Very interesting.

  • @eliasbailey1067
    @eliasbailey1067 4 года назад +1

    Gran trabajo. I'm glad you're back. Excellent video. Best regards.

  • @SimonLane
    @SimonLane 4 года назад

    Great video thanks for posting this. I've got the v2 noir and ir cameras and have been considering the new HQ one to upgrade my MotionEyeOS pi cctv project. Might explore the fish eye lense after that video.

  • @rc.9764
    @rc.9764 4 года назад

    Bill...you are a number 1... you know how to teach...I always waiting for your videos..thumbs up

  • @tubeDude48
    @tubeDude48 4 года назад +2

    This was GREAT Bill...thanks!

  • @CarlinComm
    @CarlinComm 4 года назад +3

    Hi, great video as always. That was cool swapping out the camera module, I hadn't thought that would be so easy. Fish eye lens etc could be very handy. Have you found or tested any ways of getting audio into a video recording on the PI? I have an USB audio interface from Adafruit, but haven' t spent enough time to see if I could mix audio from that and video from the CSI Pi camera. Best wishes and keep up the great work!

  • @jayvadgama5663
    @jayvadgama5663 3 года назад

    Brilliant Video. Many thanks for a very clear explanation.

  • @PB-mw2qu
    @PB-mw2qu 4 года назад +1

    Great video been trying to resolve the various type for raspberry pie

  • @davidrobertson7881
    @davidrobertson7881 3 года назад

    Thank you. Excellent clear and evidenced based. Well presented. Well done.

  • @rogerjenson5689
    @rogerjenson5689 4 года назад

    I have talked myself out of buying the Raspberry Pi High Quality Camera several times due to my lack of knowledge about Raspberry Pi cameras. Now all I need to do is decide which lens I want to buy with the Raspberry Pi High Quality Camera. Thanks for the excellent video.

  • @herewegofans
    @herewegofans 3 года назад

    Just found the workshop. My kind of learning. LOVE the power points. Why not teach us like students? We are aren't we? Thank you for taking the time to share these videos.

  • @kYLEkAPLAN
    @kYLEkAPLAN 3 года назад +1

    Love your videos DroneBot! You pay so much attention to getting all the details correct, I wanted to let you know what '4k' or 2160p video is actually 3840x2160 rather than the 3480x2160 that you show in your video. REAL 4k video is actually 4096x2160 that most native 4k projectors support.

  • @davidl1813
    @davidl1813 3 года назад

    Thanks for the great summary of the cameras, however it would have been nice to also have more comparisons on the video usage of these cameras, such as ghosting of moving images, as well as day and night usage. You did wave your hand around a little for 1 camera, but not enough to see how much ghosting there would be in real life usage. I'm thinking of typical pi usage such as diy security cameras, garden animal watching, etc. (We have a hawk that sometimes picks up bread from our garden so it would be cool to get it on video.). Thanks again.

  • @Willy_Tepes
    @Willy_Tepes 4 года назад +10

    What I am most interested in is how to use cameras from old cell phones with the Pi.

    • @YanasChanell
      @YanasChanell 3 года назад +3

      Yes, that would be nice to know. I have a dead Samsung Zoom with 10x optical zoom camera, I hope it's possible to use somehow

    • @spacejunky4380
      @spacejunky4380 Год назад

      Lol right? But there are so many questions and some much to how it actually works that it isn't a very simple answer I imagine

  • @patwicker1358
    @patwicker1358 4 года назад +6

    Good video. Glad to hear from you, I was about to organize a search party. :-)

  • @mrstalenhoef
    @mrstalenhoef 3 года назад +1

    Awesome! This has everything for starting out with the camera. Nice pace.

  • @TerboBlitz
    @TerboBlitz 4 года назад +1

    Great presentation -- very useful. What was the approximate exposure time used in your Image Tests (Low Light) at 43:06?

  • @user-lt6jg5nw6q
    @user-lt6jg5nw6q 3 года назад

    Hello! Thanks a lot for the amazing review!

  • @glynnburke8139
    @glynnburke8139 4 года назад

    Great video, packed with excellent information

  • @MarcusBiesioroff
    @MarcusBiesioroff 3 года назад

    Nice summary, thank you. One question, where can I find downloadable test charts that you're using for testing optics?

  • @hotquebec
    @hotquebec 3 месяца назад

    this is very good ! great speaking voice,wellexplained succint topic and GSOH !

  • @p.k.parchure7291
    @p.k.parchure7291 4 года назад

    Excellent work. I have an old practika film slr with couple of m42 thread lenses. Can old slr be retrofitted with this cam. Or can m42 thread lenses be used.

  • @levon9
    @levon9 3 года назад

    This was an excellent and comprehensive video on the Pi Cameras. Thank you for sharing this.
    I just got a Pi 4 for some image recognition work, so picking the right camera will be important - so I plan to watch your video again. Can you recommend a good case for the Pi4 that accommodates the camera ribbon cable? I'm not sure if active cooling will be required.
    Did you mention what the 16 mm zoom lens would be equivalent to in regular 35 mm photography? An 80 mm zoom lens?

  • @mflood35
    @mflood35 2 года назад

    When I was reading one of your comments a day or so ago I realized that I had failed to send any positive comments about you workshop sessions. Your included details such as taking time to refer to Amperes instead of amps is an excellent one.
    So many places assume that the customer KNOWS a fact when If it's a new device or product they might not know.
    Like many people I buy a lot of things from Amazon. It would be so much more helpful if instead of showing several different photos of an integrate circuit the would post a link to a data sheet for that device.
    And your workshop fills a lots voids.
    A recent example is a workshop where along the way you explained that if you did "such and such" a function or operation might or probably fail. What a person should do instead is....(explanation).
    Thanks so much to your good and useful work. I have become a fan and have shared links to your workshops with friends who, like me, create things for themselves or others.
    Sincerely
    Mike Flood
    Illinois, USA.

  • @Shadowcruise99
    @Shadowcruise99 4 года назад +4

    It would have been nice when comparing the Canon EOS to the Raspberry Pi cameras during the color test, if the same colors samples had been displayed side by side.

  • @sibujacob977
    @sibujacob977 3 года назад

    beautiful explanation !!

  • @BrianPalmerEDU
    @BrianPalmerEDU 2 года назад +1

    Thanks for such a thorough and well thought-out overview on using these cameras. As usual, very useful!
    I, as a number of others, would love to see you explain how you might incorporate audio with the video. Since the Pi doesn't have any audio input and the camera modules don't have audio, I'm told incorporating a USB mic is the route to go. Do you agree? Can you show how to capture video with audio in real-time, or if it would be otherwise necessary to capture audio and video simultaneously (as separate files) and then merge them in the Pi to a single H.264 video with audio? Thanks so much!!

  • @schmdt
    @schmdt 3 года назад

    thanks for making this video, very informative :D

  • @jamesgrant5945
    @jamesgrant5945 3 года назад

    Thank you for the video. I learnt alot.

  • @henryrussell2404
    @henryrussell2404 4 года назад

    Thank you for a brilliant video as usual.

  • @contouraerials
    @contouraerials Год назад

    Thanks for the video. Thinking about using the HQ and 16mm as a livestream webcam looking outside

  • @samuelec
    @samuelec 3 года назад

    Very well explained, thank you sir

  • @leyasep5919
    @leyasep5919 3 года назад +9

    19:10 "that's me in the corner"
    REM intensifies ;-)

  • @anandmoon5701
    @anandmoon5701 4 года назад

    Supper information on various camera modules.

  • @rexmcgurk9792
    @rexmcgurk9792 4 года назад

    Great video. Witch pi cam would you use for day and night for outside surveillance?

  • @mohamedabdelgawad7880
    @mohamedabdelgawad7880 3 года назад

    QUESTION!
    It's a very nice video giving detailed explanation for different cameras. I'm searching for the most suitable RPi camera that I can use on a distance of ~3m for color processing application. Can I have an idea on the distance between the camera and the measured targets in your video? I may choose the RPi HQ camera but the main disadvantage is it takes only a segment of the video, so it may not be very suitable in my case or maybe I can use two camera in parallel!

  • @tonyl7418
    @tonyl7418 4 года назад +8

    I bought an adapter, Canon EOS EF and EF-S to C. Means I can use any of my camera lenses plus old Pentax lenses I have an EOS adapter for.

    • @nikitakipriyanov7260
      @nikitakipriyanov7260 3 года назад

      Only need to hope heavy lenses won't break RPi's bayonet connector :)

  • @MicrobyteAlan
    @MicrobyteAlan 4 года назад +1

    Interesting and well presented thanks from Orlando

  • @johnstevynmburu3792
    @johnstevynmburu3792 3 года назад

    This video is very detailed. I had to give you thumbs up for that & I never comment on youtube videos.

  • @jmcbike
    @jmcbike 10 месяцев назад +1

    When I broke my Pi (Ver 1.3) camera lens, I just removed the broken lens, preserved the sensor and installed a new housing and lens, added a cutout in the housing for the ribbon cable, aligned it over the sensor and secured with hot melt glue. Works great, plus allowed use of a longer lens.

  • @Forensic1Man
    @Forensic1Man 3 года назад

    Really, really nice video! Well done!

  • @jameswesthoff2410
    @jameswesthoff2410 4 года назад

    Thanks for another great video!! Will there be a video concerning DB1 in the near future??

  • @Phlupke
    @Phlupke 4 года назад +1

    Hello from Belgium, very nice vidéo, as usual. A little suggestion, if you don't mind. When comparing two results on one screen, display the same part of the photo, this would allow a better comparison. Thanks for all. Regards.

  • @stevedonkers9087
    @stevedonkers9087 4 года назад

    I am a printing press operator by trade, and the plate mounter I use has two Pis with cameras. One of the issues it has is that some vibrations (like what is generated when peeling the plate off of the stickyback to reposition it) can cause the interface to glitch, which can in turn cause a complete Pi restart. Initially it was thought to be a poor connection, but this plate mounter model seems to have this problem universally.

  • @erikkayV
    @erikkayV 2 года назад

    If one were to buy a noir v2 module, could you replace the sensor/lens on it with one that has an IR filter if one were so inclined? As shown in the repairing a broken camera section?

  • @leonoliveira8652
    @leonoliveira8652 4 года назад +1

    I was hoping for some examples on the max and min zoom levels of the 16mm lens

  • @l0n9x
    @l0n9x 3 года назад

    thank you for this video, amazing!

  • @digital945
    @digital945 Год назад

    not properly tested at last pictures i know there were limitations...... appreciate the whole video,was so informative and kudos to your hard work sir. so informative. subscribed to your channel.

  • @yv6eda
    @yv6eda 4 года назад

    Excellent video, thanks!

  • @DS-es7id
    @DS-es7id 3 года назад

    THANK YOU FOR WHAT YOU DO SIR, GREAT CONTENT!.

  • @veereshs.m4510
    @veereshs.m4510 2 года назад

    very informative .... I would like to get the Focal length of arducam OV5647 on focussed object and run time. Please can show some insights on it. how to get the focal length of lens during focussing.

  • @JianGongWeb
    @JianGongWeb 3 года назад

    @9:20. Isn't the current Pi 4 using VideoCore VI (version 6), so how about the support for H.265 and HDR in Pi 4? Thanks for the awesome video.

  • @sprockylock391
    @sprockylock391 3 года назад

    Hi great video I have a old tablet after watching your video ime wondering could I use the camera from it ?

  • @tge96
    @tge96 3 года назад

    Great video! Thank you!

  • @davidfishlock1968
    @davidfishlock1968 4 года назад

    Is it difficult to control stepper motor with a pc and keyboard inputs or to press a key to start a sequence using an arduino and stepper motor driver, would the coding be hard to do? I'm new to this but want to make a slider for virtual reality fishing using a real rod that tugs while having a fish on the line

  • @argentosebastian
    @argentosebastian 4 года назад

    I built a small ROV (remotely operated under water vehicle) and at first thought about a web cam but after doing some research found out in not a very good idea due to the length of the tether cable- I'm using about 30 yards of cat 5 to control the motors and don't have a camera- Do you have any suggestion on how to deal with video? Thanks

  • @jcjensenllc
    @jcjensenllc 4 года назад +1

    Enjoyed this video.
    Was disappointed by the color changes in video as you moved.
    How would you record and sync sound in video recording?
    Would like to see a hack to get a 12 or 16 megapixel camera from a current smart phone working on raspberry pi.

  • @JohnClulow
    @JohnClulow 4 года назад +1

    Excellent video! which, as usual, you've done great work on planning and presenting. The presence of an IR/UV cut filter over the sensor, as the Canon EOS has, versus no IR cut filter / full-spectreum (your V2, Arduocam?, V1?, HQ appears to have an IR/UV cut filter, not sure) will have a significant effect upon your light sensitivity, color rendering, and luminous response. Also, I think the center color difference in the one V2 image is what we call a "hot spot" in IR photography. So to help us in interpreting the results it would be helpful to specify explicitly for each set-up the presence or absence of the IR/UV cut filter. Note that wavelength also affects focal length; in IR photography when visible light and below is blocked, significant changes in focal length are required. So this parameter of full spectrum versus visible only is important to know for each set up in order to interpret and understand your results.

  • @jazzmeltsface
    @jazzmeltsface 3 года назад

    Hey, will the 16mm Telephoto Lens on RPi HQ cam give me nice Video and Photo's (for timelapse) in Octoprint for just general viewing and even better zoomed in shots too see good close filament shots?

  • @aman72kamboj
    @aman72kamboj 3 года назад

    your video are always good. thank you

  • @michaelclement1337
    @michaelclement1337 3 года назад +3

    This is made me think about a telescope I've got, perhaps I could use a Pi with a camera somehow connected to my telescope. BTY how hard is it to add audio to the video on a Pi?

  • @tedsykora1858
    @tedsykora1858 4 года назад

    Very nice and helpful video.

  • @maxreynolds679
    @maxreynolds679 4 года назад

    Great video, thanks

  • @yurkshirelad
    @yurkshirelad Год назад

    Another excellent video! Where do you get the magnifying lens from?

  • @wishicouldarduino8880
    @wishicouldarduino8880 3 года назад

    Awesome video I missed this one 👍

  • @andreaswolfesberger6140
    @andreaswolfesberger6140 4 года назад

    thank you very much for this video

  • @jonathanwashington1460
    @jonathanwashington1460 22 дня назад

    Thanks for sharing

  • @johndoe3092
    @johndoe3092 3 года назад

    Sir, you have a golden voice

  • @timsaloga
    @timsaloga 4 года назад +1

    That was excellent.

  • @thehappycoder3760
    @thehappycoder3760 Год назад

    Very helpful

  • @krelis77
    @krelis77 4 года назад

    Great review #Dronebot
    Workshop 👍

  • @inlywang8157
    @inlywang8157 3 года назад

    such an amazing review

  • @cheblack677
    @cheblack677 3 года назад

    Do you know how to handle two or more tasks simultaneously? Ex while I'm refreshing a display or sending data on serial to execute other routine task instead waiting to the end of the first one.