How to integrate Django and OpenCV | Django and OpenCV tutorial

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

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

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

    Hi Guys. Here is the source code to this project: blog.pyplane.com/blog/django-with-open-cv/

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

      I really enjoyed this one, thank you.

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

      hello brother, please create a new video, converted the image into text using OpenCV and Django

    • @academyonnet
      @academyonnet 8 หลายเดือนก่อน

      The link does not work.

  • @danielaceros5723
    @danielaceros5723 4 ปีที่แล้ว +7

    I just found your channel and this was what I was looking for!! amazing!!!!

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

      Thank you Daniel! Appreciate it!

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

    Luke, your tutorials have a unique niche. keep it up.

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

      Thank you Abraham!

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

      I agree, he combines things no other Django/Python youtuber does.

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

    Thank you Sir Uploading OpenCV with Django video.

  • @samaramunoz1829
    @samaramunoz1829 4 ปีที่แล้ว +8

    I've been looking for this for months! are you planning to make more examples of integrating OpenCV and Django? thank you!

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

      Maybe :) next I want to do integration with neural networks. We might use opencv while working on cnn’s

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

      just what I was looking for! can't wait

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

      @@Pyplane Also, looking forward to one that includes Django and OpenCV video processing in browser!! That would be amazing, I'm sure many people are looking for that

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

    I was just amazed by the content in your channel😇
    Expecting more interesting stuff in future🤗

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

    Please continue to making video django and AI. It is very helpful to me.

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

    Great video! Now I'm trying to make up a reason to include OpenCV in my current project. :-)

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

      Thank you Daniel. That would be very interesting to see :)

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

    correct me if im wrong but at 13:45 aren't you confusing the height with the width? Because the bigger value should be the width (1600) considering the ratio of an image since its horizontal. I know this doesnt seem that important but im asking because i've seen a lot more codes everywhere where people seem to be always confusing this parameters maybe because the standard is to put the width first when we talk about screen resolutions for example (1280x720), and the command cv2.shape gives this parameters in the opposite order like the one of colors BGR which should be RGB, i dont understand why openCV library seems to complicate in these aspects by not following the normal standards

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

    great work. i have e learn alot

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

    Deberías subir unos tutoriales de react con Django, muy bien tutorial saludos 👍

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

      Hello Vito. I’m going to create a tutorial based on Project for React and Django soon. Gracias Amigo!

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

    thankyou ,i learn many thing from you,please make some video for live data update on django

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

    Nice video. What would it be like if instead of uploading an image it is captured in real time from a webcam?

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

    Nice video bro subbed . I think that order of getting height and width is like this:
    height = img.shape[0]
    width = img.shape[1]
    channels = img.shape[2]
    I have few questions, would it make difference using Django Channels instead of REST approach?
    I have some experience with Node.js but i find it easier to use python to work with CV would it matter in terms of speed if i use node to call python functions that are applying opencv operations or is it better to use Django ?

  • @hung-tienhuang3640
    @hung-tienhuang3640 2 ปีที่แล้ว

    I literally can't get it. Why it is not possible to just use cv2.imread to read image in model.save method? (31:49) Why PIL.Image.open(self.image) works but cv2.imread(self.image) just can't work?

  • @jodikurniawan3732
    @jodikurniawan3732 10 หลายเดือนก่อน

    nice tutorial, how to play ip camera CCTV using RTSP protocol in django webplage html? thanks

  • @AliHassan-fn9et
    @AliHassan-fn9et 4 ปีที่แล้ว +1

    Great man

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

      Thank you Ali!

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

    hello sir I am using cv2.VideoCapture(0) in django.When I am am using it on localhost it is working but when I am using it in online website it is not working. can you please guide me?

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

    well done!

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

    Congratulations on the video, fantastic!
    I'm trying to make the user register these filters through a TEXTAREA, and from what I've read, the ideal would be to use the EXEC() function to transform the string into a function and then be able to apply it to the photo.
    How could I do it?
    Thanks. =)

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

    Its really amazing what you did but there is an issue with saving image, you see if you save an image it keeps making folder if you save and continue without changing image and if you just save and exit it saves in same 'images' folder

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

    very good

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

    Hi, can i somehow use database like phpmyadmin to store pictures and edit then from the database? (I am searching informations for my thesis)

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

    Thanks for the tutorial 🙏 Is there a way we can use camera images from browser?

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

      Hi Nishal. First of all thank you for the kind words! Not sure if I understand the question. If you would like to make uploads of images you need to create form, create a view, register url for the view, setup templates and this solution should work on any images you will upload.

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

      @@Pyplane he means showing openCV camera feed on the browser. Can you make a video on that?

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

      @@seandenny6430 Ok, now I get it :) Thank you both for the idea :) I never done this before so it sounds to me even cooler. I'll think of something once I'll finish Django with AI series

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

      th-cam.com/video/nOCCzci-XP0/w-d-xo.html

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

    hi, is possible create a django project with an opencv eyetracker webcam by saving the x y coordinates in the real time database? I'd like to create an application that reads text with gtts using the user's gaze as the reading speed. Some advice? thank you

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

    Anyone know how you can click on the image and have opencv draw a circle where you clicked? Does this work in Django?

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

    Django portion starts from 18:21

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

    This is a very helpful tutorial. Thank you.
    Also, is there any way we can replace the frontend with React and still have Django with OpenCV in the backend.
    I mean how do they interact with each other?

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

      Hi. It's actually pretty simple - on the frontend you select what filter you wanna apply, on the backend you simply apply it. I'm going to do a tutorial on opencv, django and javascript here on the channel. Cheers

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

      th-cam.com/video/nOCCzci-XP0/w-d-xo.html

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

    Please share GitHub link also for every project

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

    Nice!

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

    Thank you very much ..I am doing a project facial recognitiion with data mining for my research degree , any help would be greatly appreciated

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

    Do you by any chance have the source code of this mini project. It was very informative!

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

      I should have it somewhere. If I'll find it I'll upload it on github and share the link here by tomorrow

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

      @@Pyplane Thank you so much. That will be appreciated.

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

      @@Pyplane do you have the link already? it would be extremely helpful!

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

      ​@@andresinho83 Sorry for the delay. Hi. The link to source code has been added with the comment pinned at the top. Cheers

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

      @@Pyplane thank you so much!!

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

    Hie , Thank you for get video....plz can we have code

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

      Hi. Sorry for the late response. The source code has been added with the comment pinned at the top. Cheers