How to Access Mobile Phone Camera using OpenCV | Machine Learning | Data Magic

Поділитися
Вставка
  • Опубліковано 2 гру 2024

КОМЕНТАРІ • 23

  • @naimulislam1890
    @naimulislam1890 2 роки тому +5

    Hello im facing resize error issue with 600,400 can u tell me how to fix it

  • @yashthakur7562
    @yashthakur7562 Рік тому +1

    i am tryint to do a project and facing an issue with opencv , when I run the code the webcam feed box come on the screen bet is gry and non responding after a while , I try reducing resolution , trying different cameras (webcam, ipcam etc) issue remains , can u please help

  • @sirnad7813
    @sirnad7813 2 роки тому +1

    Thanks

  • @fakeyazlm9930
    @fakeyazlm9930 2 роки тому +1

    thx so much

  • @kennyblaze6303
    @kennyblaze6303 2 роки тому

    hi, could you tell me if the picture taken with the mobile camera, could those pictures be stored into a designated computer file location? and then if openCV able access those pictures?

    • @DataMagicAI
      @DataMagicAI  2 роки тому +1

      Yes if you are able to access mobile feed on computer the. Obviously you can save with OpenCV on your computer system.

  • @titorjohn177
    @titorjohn177 2 роки тому

    Hi,If I want to connect my phone to a computer with USB, and let the phone's camera display on the PC screen, how do I use it?

    • @DataMagicAI
      @DataMagicAI  2 роки тому

      Lsearch for some tool. I guess there must be tools to do it.

  • @Roboai2023
    @Roboai2023 9 місяців тому

    Sir I am facing very delay in image coming in opencv as well as resize capture issue
    Thanks

    • @techgeeks3732
      @techgeeks3732 8 місяців тому

      same here , the delay is caused by the limitation of computer GPU , because it has to process every frame in real time

  • @ziadkahn3331
    @ziadkahn3331 Рік тому

    hello, the code is running but the vedio streaming interface is not created. can someone help please

  • @poojamaurya8584
    @poojamaurya8584 2 роки тому +1

    my mobile camera is not accessed through this code🙃

  • @hp50537
    @hp50537 3 роки тому +1

    bro the ip is not supporting like resize error is coming

    • @alinshibu608
      @alinshibu608 2 роки тому

      did u correct ur resize error?

    • @namithak7677
      @namithak7677 2 роки тому

      me too..did u get any solution??

    • @naimulislam1890
      @naimulislam1890 2 роки тому

      hello did u find any solution to it?

    • @AmirshokhZokirov
      @AmirshokhZokirov Рік тому

      FUCKIN ISSUE NOT SOLVED error Traceback (most recent call last)
      Cell In [40], line 3
      1 while True:
      2 ret, frame = cap.read() # read frame/image one by one
      ----> 3 resized = cv2.resize (frame, (600,400))
      4 cv2.imshow("Frame" , resized) # display frame/image
      6 key = cv2.waitKey(1) # wait till key press
      error: OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src
      esize.cpp:4052: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

  • @AmirshokhZokirov
    @AmirshokhZokirov Рік тому

    error Traceback (most recent call last)
    Cell In [40], line 3
    1 while True:
    2 ret, frame = cap.read() # read frame/image one by one
    ----> 3 resized = cv2.resize (frame, (600,400))
    4 cv2.imshow("Frame" , resized) # display frame/image
    6 key = cv2.waitKey(1) # wait till key press
    error: OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src
    esize.cpp:4052: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'
    WHYYYYYY WHYYYYY

  • @yashpurohit509
    @yashpurohit509 3 роки тому +2

    I get a error cv2.cv2 has no attribute 'VedioCapture'

    • @DataMagicAI
      @DataMagicAI  3 роки тому

      Spelling mistake in VideoCapture. It seems you are using VedioCapture which wrong.

    • @yashpurohit509
      @yashpurohit509 3 роки тому

      @@DataMagicAI lol I havent see 🥺 thanks it works for me