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

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

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

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

    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! :)

  • @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 7 месяцев назад

      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 5 месяцев назад

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

  • @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.

  • @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 🙂

  • @drm8164
    @drm8164 8 месяцев назад

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

  • @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??

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

    Thank you very much.

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

    Genuinely great tutorial, thank you!

  • @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?

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

    what are the option to deploy this project online

  • @iamdikshith
    @iamdikshith 8 месяцев назад

    is it optimal to do frame by frame?

  • @a-mchannel4867
    @a-mchannel4867 4 года назад

    are you have any Audio Signal Processing project example pleaaaaase

  • @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 7 месяцев назад

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

  • @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?

  • @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 7 месяцев назад

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

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

    Excellent tutorial very helpful

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

    how can host on heroku

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

    Great contents.Thanks for sharing bro 👍👌

  • @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???

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

    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.

  • @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. ruclips.net/video/sQzNCOkQ9us/видео.html

  • @19daredevill
    @19daredevill  3 года назад

    Video on how to deploy a Flask website to Heroku
    ruclips.net/video/sQzNCOkQ9us/видео.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'