How I got my OpenCV Project on a web server ...

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ต.ค. 2024

ความคิดเห็น • 43

  • @STEMMadeSimple2023
    @STEMMadeSimple2023 9 หลายเดือนก่อน

    I very much enjoyed this tutorial. The first step is to learn basic HTML. The next step is to do machine learning. Thank you for the clear explanations! :)

  • @loganbates6369
    @loganbates6369 2 ปีที่แล้ว

    Genuinely great tutorial, thank you!

  • @manthannikam7028
    @manthannikam7028 ปีที่แล้ว +1

    At the output at 30:00, it puts an error as no attribute of video in videoCamera, I checked correctly every words, still it shows the same, please help

    • @mannahfarmandforge5225
      @mannahfarmandforge5225 ปีที่แล้ว

      Same issue here Manthan. Iv already tried updating all installs and that didnt work. Iv posted on stack overflow and on pythons Discord to see if anyone can help. There is a good chance this stuff doesnt work in the latest versions of python.

  • @AdityaGupta-ke1vd
    @AdityaGupta-ke1vd 3 ปีที่แล้ว

    hello sir,
    I am getting this error when I try to open the camera on the website(output at 30:38 minutes in the video)
    [ WARN:0] global C:\Users
    unneradmin\AppData\Local\Temp\pip-req-build-1hfhc_rd\opencv\modules\videoio\src\cap_msmf.cpp (438) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
    please help?

  • @akshayshrivastava6057
    @akshayshrivastava6057 2 ปีที่แล้ว +2

    hey can u please tell me what to write instead of 0 in videocapture while deploying and wanted to get the access of any remote user camera
    i mean to say how we can access camera after deployment of this app please help

    • @luisfelipebejaranogil5381
      @luisfelipebejaranogil5381 2 ปีที่แล้ว +1

      This is the reason I'm here, did you find the solution? it seems that webopencv could work but I have not tried it yet

    • @46_aiml_elhanraza59
      @46_aiml_elhanraza59 6 หลายเดือนก่อน

      I have been facing the same problem for more than a week...😢
      if you get to know of any solution please let me know

    • @a2-19gurubaravikkram6
      @a2-19gurubaravikkram6 4 หลายเดือนก่อน

      @@46_aiml_elhanraza59 Even I'm caught up with the same problem 😶, if you found a solution please let me know 😥🙏🏻

  • @darranz1
    @darranz1 2 ปีที่แล้ว +1

    Excellent tutorial!!!, But if you deploy the scripts on a remote server you can not use the webcam from remote user, is there some solution please??

  • @drm8164
    @drm8164 7 หลายเดือนก่อน

    please, how to make a software with opencv applications and sell it to a custumer?

  • @venkatesanr9455
    @venkatesanr9455 4 ปีที่แล้ว +3

    Hi Mohammed, Can you share the references for practice purpose

    • @19daredevill
      @19daredevill  4 ปีที่แล้ว

      Hi, yeah. I couldn't upload it on GitHub yet. But will do it over the weekend 🙂

  • @Lavah
    @Lavah 4 ปีที่แล้ว

    Hey I got a question:
    I have an error in my main.py where it says:
    line 13, in gen
    yield (b'--frame
    '
    TypeError: can't concat method to bytes
    do you know a fix?

    • @Lavah
      @Lavah 4 ปีที่แล้ว

      Nvm this fixed it for some reason:
      def gen(camera):
      while True:
      frame = camera.get_frame()
      yield (b'--frame
      '
      b'Content-Type: image/jpeg

      ' + frame + b'
      ')

    • @19daredevill
      @19daredevill  4 ปีที่แล้ว

      Glad it worked. Sorry for the late response, been away

    • @mohammadsaraei4899
      @mohammadsaraei4899 3 ปีที่แล้ว

      @@Lavah i have problem this code just work in local server and when i have camere on in server ...i runned this code in server that not have camera ...when i take request from clinet it not work and i can see camera ...the project not have error???

  • @marcell01986
    @marcell01986 3 ปีที่แล้ว

    after deploy project i cant reach the webcam with cv2.VideoCapture(0), do you know how can i fix it?

    • @46_aiml_elhanraza59
      @46_aiml_elhanraza59 6 หลายเดือนก่อน

      I have been facing the same problem for more than a week...😢
      if you get to know of any solution please let me know

  • @viranchidakhare2575
    @viranchidakhare2575 ปีที่แล้ว

    what are the option to deploy this project online

  • @iamdikshith
    @iamdikshith 7 หลายเดือนก่อน

    is it optimal to do frame by frame?

  • @heronjbm
    @heronjbm 2 ปีที่แล้ว

    Excellent tutorial very helpful

  • @sumitverma8581
    @sumitverma8581 3 ปีที่แล้ว

    Nice Video Tutorial. I am trying to upload a video using CV2 VideoCapture but it is not working with the same code. Alternatively, I tried to upload images as well, which is also not working. Can you please suggest something?

  • @นายนรินทร์อนงค์ชัย

    Thank you very much.

  • @shajugeorge813
    @shajugeorge813 3 ปีที่แล้ว +1

    We can't open camera outside localhost right?

    • @mohammadsaraei4899
      @mohammadsaraei4899 3 ปีที่แล้ว +1

      this is problem ! i have problem too...

    • @marcell01986
      @marcell01986 3 ปีที่แล้ว

      same issue here, can you discover how to fix it?

    • @46_aiml_elhanraza59
      @46_aiml_elhanraza59 6 หลายเดือนก่อน

      I have been facing the same problem for more than a week...😢
      if you get to know of any solution please let me know

  • @peterluo1776
    @peterluo1776 2 ปีที่แล้ว

    Great contents.Thanks for sharing bro 👍👌

  • @a-mchannel4867
    @a-mchannel4867 4 ปีที่แล้ว

    are you have any Audio Signal Processing project example pleaaaaase

  • @nidhimandal2907
    @nidhimandal2907 2 ปีที่แล้ว

    Hi, Mishab i found your video really helpful and i need help with the age and gender detection project, whatever in this video will detect upto face only within the frame but won't give any output after clicking image, but after detection how it will work for age and gender detection also and will give output accordingly. Please do help me through this.

  • @19daredevill
    @19daredevill  3 ปีที่แล้ว

    Video on how to deploy a Flask website to Heroku
    th-cam.com/video/sQzNCOkQ9us/w-d-xo.html

    • @mohammadsaraei4899
      @mohammadsaraei4899 3 ปีที่แล้ว

      hi mohammad i have probem when i taake this project to web server ...
      the error is :???
      File "C:\Users\mohammad\PycharmProjects\pythonProject2\main.py", line 11, in gen
      frame = camera.get_frame()
      File "C:\Users\mohammad\PycharmProjects\pythonProject2\camera.py", line 13, in get_frame
      gray=cv2.cvtColor(frame,cv2.COLOR_BGR2GRAY)
      cv2.error: OpenCV(4.5.3) C:\Users
      unneradmin\AppData\Local\Temp\pip-req-build-sn_xpupm\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'

  • @faizanalam1646
    @faizanalam1646 2 ปีที่แล้ว

    how can host on heroku

  • @danianiazi8229
    @danianiazi8229 3 ปีที่แล้ว

    Can you deploy this and make a toturials on it plesse

    • @19daredevill
      @19daredevill  3 ปีที่แล้ว +1

      Hi, you are looing into something like heroku or pythonanywhere? I am working on a side project where I need to do this shortly. Will post it in the near future. hope that helps. But in the meantime let me know if heroku or pythonanywhere helps.

    • @danianiazi8229
      @danianiazi8229 3 ปีที่แล้ว

      @@19daredevill yes both platform would work. Or if you can use Awz that would be much awesome

    • @srijanverse8719
      @srijanverse8719 3 ปีที่แล้ว +1

      @@19daredevill Could you tell about Procfile and requirements?
      I've tried uploading on Heroku but it doesn't open the camera...

    • @bharathreddy2805
      @bharathreddy2805 3 ปีที่แล้ว

      Hi I tried to deploy on heroku but I'm getting application error

    • @19daredevill
      @19daredevill  3 ปีที่แล้ว

      @@bharathreddy2805 Hi, I recently made a video on heroku deployment. Hope it helps you. th-cam.com/video/sQzNCOkQ9us/w-d-xo.html