How to Build a Camera App With CameraX - Taking Photos

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

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

  • @AndrewDChristie
    @AndrewDChristie Год назад +7

    Some people are not that excited about programming, love the energy you bring to these videos, makes me realize with the number of your views are plenty of others interested in this work

  • @Henttz
    @Henttz Год назад +3

    I had to figure it out how to use the cameraX library by my own. Now I can check what I did wrong, thanks Phillip for this new content

  • @simpleelegant9269
    @simpleelegant9269 Год назад +13

    Finally granted my request.. More playlist for Hardware please!! Cross platforms can't do shiits with these.

    • @AhmedAli-qm1td
      @AhmedAli-qm1td Год назад +1

      I thought I'm the only one who think like that 😂😂
      But now I'm fine 😂

    • @ChrisAthanas
      @ChrisAthanas Год назад +2

      KMP is closing the gap very quickly

  • @ChrisKavinRomeroRomanus
    @ChrisKavinRomeroRomanus Месяц назад +1

    Dont forget to close the image proxy after performing all operations. This will free up the buffer in the image reader.

  • @Otabek001uz
    @Otabek001uz Год назад +3

    You're the best developer in the world!!!⚡

  • @malva9
    @malva9 2 месяца назад +1

    For those struggling with getting the camera to show, they must've done some changes to the default values because I couldn't get the cameraFeed to actually show from just the tutorial. You also need to provide the `layoutParams` to get the feed to show.
    Not very clear since the logs themselves just mention that the controller and previewView aren't connected to the controller. In hindsight though it does make sense but I would've thought that it just grabs the parent of the composable (which is probably what it did before when it's implemented in the video.)
    Hope this helps!

    • @supershid464
      @supershid464 Месяц назад

      it works perfectly for me even with Camera 2, but thank you

  • @aaravbansal6193
    @aaravbansal6193 Год назад +3

    Hi philipp, I have been following you for quite a while now and genuinely love your content. I had a small request if you could make a tutorial for media3 Audio Player!! that would be a great help

  • @roshkaalex
    @roshkaalex Год назад +1

    Cool! Thank you Philipp. I tried to find camerax video in your playlist today morning )))

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

    Best video for learning android development.

  • @aaronperron
    @aaronperron 6 месяцев назад

    can you make a tut about setting up camerax with the new camera-viewfinder-compose ? thanks! you rock

  • @SahilTheExplorer
    @SahilTheExplorer Год назад +1

    Hey Philip, i think there’s something wrong while you’re initialising camerax because i am getting camerainfo as null if i do the same initialisation.

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

    Amazing, finally can use text recognition

  • @timepasi
    @timepasi 5 месяцев назад

    Intresting we need more of these videos ❤

  • @MüminKayaaslan-t9b
    @MüminKayaaslan-t9b 10 месяцев назад

    Hello, I added it to my project as you did, but when I gave the NavController, java.lang.IllegalStateException: The offset was read before being initialized. Did you access the offset in a phase before layout, like effects or composition?
    I am encountering the error

  • @chrispoet3885
    @chrispoet3885 7 месяцев назад

    7 issues were found when checking AAR metadata:
    1. Dependency 'androidx.camera:camera-extensions:1.3.0-rc01' requires libraries and applications that
    depend on it to compile against version 34 or later of the
    Android APIs.

  • @technicalayushpro81
    @technicalayushpro81 2 месяца назад +1

    can you tell me how to use camera X in Sketchware,please

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

    Excited for Part 3

  • @KeringKirwa
    @KeringKirwa Год назад +1

    hey Philip ? first , thanks for this sir . what if someone wants to focus on a section of an image just like in Google lens , how is that possible ?

  • @HenokWehibe
    @HenokWehibe 9 месяцев назад

    Great work Sir, Thanks so much.

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

    I'll practice your videos, thank you very much

  • @felipesousa7816
    @felipesousa7816 10 месяцев назад

    Make a camerax tutorial for a thermal camera, I want to integrate this into my project

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

    Hi, could you make a video about creating and publishing libraries in compose Multiplatform ?
    Btw thx for all videos

  • @김영훈-q9z
    @김영훈-q9z 4 месяца назад

    could you upload recording both camerax and customview?

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

    man, I want to ask you one question, what is buildScript block in the gradle build file that you use in the project root directory. why buildScript block is used in the project root build file but not in the "app" folder or "app" module ? Does this mean gradlew need to use extra buildscript or what ?

  • @fazalulabid8483
    @fazalulabid8483 Год назад +1

    Been waiting for this content. Thanks for delivering what we've all been craving!

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

    Hi, can you make a document scanner app... main use of camera is for that.

  • @ahadul360
    @ahadul360 Год назад +1

    Make a video on Qr Scanner App using latest tech..

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

    We need a complete project is going to be perfect

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

    This cameraeggs thing is kinda useful

  • @Daaboo
    @Daaboo 5 месяцев назад

    But i want to use the camera app on the phone but no package work. I tried both Vue with Iconic, React native and its wont work at all. This is my last chance to ever be able to finish my app.... but if you have any other suggestions im open ....?

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

    Can you make a bluetooth LE tutorial?

  • @surendramaran
    @surendramaran Год назад +1

    I waited for this video 🎉🎉

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

    Imo you shouldn't hold bitmaps directly in ViewModel. Bitmaps should be saved somewhere and uris should be used to access them to optimize memory usage.

  • @anmac6910
    @anmac6910 11 месяцев назад

    Hey how do I set a greater precision for date timestamp when taking a photo so that the fileame such as : YYYYMMDD_hhmmss.jpg and the date taken and date modified seconds are very close to being the exact same? in other words, the date taken and date modified is assigned at the exact instant the photo is saved to file ?

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

    How to make the icon sticky in the right when landscape? So it like other camera app

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

    Is there a way to use this to take the photos and add them to a digital form to generate a pdf?

  • @santri.awon1
    @santri.awon1 Год назад

    great content as always

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

    u r amazing , thanks alot for this content🙏🙏

  • @VrhoAirlines
    @VrhoAirlines 11 месяцев назад

    Do you have any idea how to access usb camera on android in an app

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

    How can I switch between lenses here? I have observed that CameraX doesn't automatically switches the lenses in Samsung devices.

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

    can you please open class for openGL es?

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

    Can you please also guide on how to handle to take picture only when it's a human?

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

    How to set photo size? and jpeg quality?

  • @awaisahmad5908
    @awaisahmad5908 9 месяцев назад +2

    you have used kotlin damn
    where is java functional APIs.

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

    Please create video guide with AR

  • @JavohirJumayev-pn1vn
    @JavohirJumayev-pn1vn Год назад

    Thank you so much

  • @John-qt6qk
    @John-qt6qk Год назад

    Awesome 💪🏾

  • @RiteshVishwakarma-jg3px
    @RiteshVishwakarma-jg3px 4 месяца назад

    bro how to add asceptRatio on this

  • @RaghulS-nl6wx
    @RaghulS-nl6wx Год назад +2

    I get error on creating bottomsheet scaffold did anyone

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

      Same here. Fixed it yet??

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

      Change
      implementation("androidx.compose.material3:material3")
      to
      implementation("androidx.compose.material3:material3:1.1.2")
      in the build.gradle.kts to get the latest Version of material3

  • @thanakornsrisuwan2498
    @thanakornsrisuwan2498 Год назад +1

    rememberBottomSheetScaffoldState not found help me please :(

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

      I can solve the problem, update latest version of material 3

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

      @@thanakornsrisuwan2498 I'm facing same issue. What version did you use to solve yours?
      This is what I have
      implementation("androidx.compose.material3:material3")

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

    Something wrong here.Camera take picture only 4 times.How can do more?

    • @homiegangbro8533
      @homiegangbro8533 5 месяцев назад

      add image.close() at the bottom in fun onCaptureSuccess

    • @surendharv795
      @surendharv795 14 дней назад

      put this
      image.close()
      while saving the image

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

    You are the best teacher for android, Thanks a lot. Do you have any courses paid/free on android testing

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

      Yes, released just a month ago :)
      pl-coding.com/testing

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

    A real photo simple app will be cool

  • @RajuYadav-qm4ic
    @RajuYadav-qm4ic Год назад

    😊

  • @ikerluqup5661
    @ikerluqup5661 5 месяцев назад

    god

  • @jesseholliday3480
    @jesseholliday3480 6 месяцев назад

    1:40 dependencies

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

    * BottomSheetScaffold not found
    implementation("androidx.compose.material3:material3:1.2.1") // State the version above 1.1.0. Unstated implementation might be somehow importing 1.0.0 version.
    * CameraSwitch Icon not found
    implementation("androidx.compose.material:material-icons-extended:1.5.1") // Implement this too.