custom object detection using python and opencv | object detection using python | keras | tensorflow

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

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

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

    Nice Anshu Da

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

    Chaliyeee jee eram bhabaii ekdin success pabii 😊♥️

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

    Daaruunnn👏👏👏

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

    I really appreciate it Bro, thank you 😀

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

      Happy to help

    • @usextras2967
      @usextras2967 3 หลายเดือนก่อน

      ​@@angshuofficial2214how can I use this model in app?

  • @srinjinichatterjee
    @srinjinichatterjee 18 วันที่ผ่านมา +1

    Bravooo!!✨❤️

  • @thanesroy6669
    @thanesroy6669 5 หลายเดือนก่อน +3

    sir im done following all the steps you 're giving but still can't run the code its giving an error

    • @thanesroy6669
      @thanesroy6669 5 หลายเดือนก่อน +1

      sir used the github code with the label files together but still can't run the code please help me sir

  • @arasimblante6355
    @arasimblante6355 6 หลายเดือนก่อน +1

    what version of pycharm did you use to run this code?

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

    I have only two class first one is Apple and second one is Banana. When I run the program and webcam works it gives output as Apple but there is not any Apple in frame, There is only me in the frame how can I fix this error?

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

      Hi, There I made a little modification in the code which I have already discussed in the last part of the video about the same problem faced by you.
      I would recommend you to run my code which I have posted on GitHub respiratory (link in description).
      Hope your problem will be solved.

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

      github.com/CretivityArt/Custom-Object-Detection-Using-Python-OpenCV--Training-Database-using-TeachableMachine

  • @SanthoshShetty-cm9df
    @SanthoshShetty-cm9df 6 หลายเดือนก่อน +1

    Giving an error with visual studio software, will it works only on pycharm? or is there any particular versions for keras libraries to work properly?

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

      There could be problem with some of the dependencies.

    • @angshuofficial2214
      @angshuofficial2214  5 หลายเดือนก่อน

      Pls DM me the screenshot of the error to solve your problem

    • @SanthoshShetty-cm9df
      @SanthoshShetty-cm9df 5 หลายเดือนก่อน +2

      raise TypeError(
      TypeError: Error when deserializing class 'DepthwiseConv2D' using config={'name': 'expanded_conv_depthwise', 'trainable': True, 'dtype': 'float32', 'kernel_size': [3, 3], 'strides': [1, 1], 'padding': 'same', 'data_format': 'channels_last', 'dilation_rate': [1, 1], 'groups': 1, 'activation': 'linear', 'use_bias': False, 'bias_initializer': {'class_name': 'Zeros', 'config': {}}, 'bias_regularizer': None, 'activity_regularizer': None, 'bias_constraint': None, 'depth_multiplier': 1, 'depthwise_initializer': {'class_name': 'VarianceScaling', 'config': {'scale': 1, 'mode': 'fan_avg', 'distribution': 'uniform', 'seed': None}}, 'depthwise_regularizer': None,
      'depthwise_constraint': None}.
      Exception encountered: Unrecognized keyword arguments passed to DepthwiseConv2D: {'groups': 1}
      I'm getting this kind of errors, I think there is some problem with keras or tensorflow packages. Could you please provide the version for packages?

    • @sachinjojare2106
      @sachinjojare2106 5 หลายเดือนก่อน

      @@SanthoshShetty-cm9df same above error I am also getting...what to do? Plz reply

    • @SanthoshShetty-cm9df
      @SanthoshShetty-cm9df 5 หลายเดือนก่อน

      @@sachinjojare2106 Check with the dependencies properly, it will work only with 3.9 python compiler and 2.12.0 keras libraries

  • @SuklaGiane
    @SuklaGiane 11 หลายเดือนก่อน

    Wow

  • @impersonality3
    @impersonality3 7 หลายเดือนก่อน +1

    Nice and useful video. Can I extract the accuracy of this model or not?

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

      Yes you can by clicking downloading the source code from my GitHub channel. In this video I covered the topic

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

      13:25

    • @impersonality3
      @impersonality3 7 หลายเดือนก่อน +1

      @@angshuofficial2214 I mean the overall accuracy of the model

  • @KarthikKarthik-ee3qy
    @KarthikKarthik-ee3qy 2 ปีที่แล้ว +1

    Sir very thank it's working

  • @vunguyenleanh1515
    @vunguyenleanh1515 3 หลายเดือนก่อน

    Do you know how to add bounding box to your code?

  • @NihalA-w6u
    @NihalA-w6u 6 หลายเดือนก่อน

    hi can you provide requirements.txt
    which includes the python version, modules version.
    it would be very helpful

  • @JyotirmoyChowdhury-ki5mn
    @JyotirmoyChowdhury-ki5mn ปีที่แล้ว +1

    Can i perform this with java?

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

      Yes you can. I will try to make a tutorial based on it.

  • @timl4286
    @timl4286 2 หลายเดือนก่อน

    is it possible to draw the bounding box of the detection?

    • @angshuofficial2214
      @angshuofficial2214  2 หลายเดือนก่อน

      I am also working on that. It could be a bit tricky. You may use yolo V3 for that

  • @Marketing_Masters
    @Marketing_Masters 5 หลายเดือนก่อน +1

    good

  • @usextras2967
    @usextras2967 3 หลายเดือนก่อน

    How can i use this model in app?

  • @dank5088
    @dank5088 5 หลายเดือนก่อน

    I am getting error while I was running this code, issue with model it is not loading and file not found error
    I was using vs code and python

    • @angshuofficial2214
      @angshuofficial2214  5 หลายเดือนก่อน

      Try to download the trained model again. With proper file adress

  • @riteshjadhav-zt5lo
    @riteshjadhav-zt5lo หลายเดือนก่อน

    Cannot find reference 'models' in '_ Init.py':3
    Unresolved reference 'load_model' :3
    [From the 3rd line]
    I am getting this error pls help bro.
    I tried installing tensor flow but not working.

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

      Dear please check the fileName of f the downloaded model and it is recommended to download the file again.

  • @AestheticEchoes-j9f
    @AestheticEchoes-j9f 4 หลายเดือนก่อน

    Error loading model: Error when deserializing class 'DepthwiseConv2D' using config={'name': 'expanded_conv_depthwise', 'trainable': True, 'dtype': 'float32', 'kernel_size': [3, 3], 'strides': [1, 1], 'padding': 'same', 'data_format': 'channels_last', 'dilation_rate': [1, 1], 'groups': 1, 'activation': 'linear', 'use_bias': False, 'bias_initializer': {'class_name': 'Zeros', 'config': {}}, 'bias_regularizer': None, 'activity_regularizer': None, 'bias_constraint': None, 'depth_multiplier': 1, 'depthwise_initializer': {'class_name': 'VarianceScaling', 'config': {'scale': 1, 'mode': 'fan_avg', 'distribution': 'uniform', 'seed': None}}, 'depthwise_regularizer': None, 'depthwise_constraint': None}.
    please help me out

    • @angshuofficial2214
      @angshuofficial2214  4 หลายเดือนก่อน

      Recheck the file location. Try to download the model again and include the path correctly in the program

  • @Movieeditspro
    @Movieeditspro 5 หลายเดือนก่อน +1

    There is an issue in the code please update the code asap

  • @Marketing_Masters
    @Marketing_Masters 5 หลายเดือนก่อน +1

    What version of tensorFlow/Keras does teachable machine use. When i have follow all the step of your video after running the code it haven show this message
    "Exception encountered: Unrecognized keyword arguments passed to DepthwiseConv2D: {'groups': 1}"
    can you tell me what's the problem mainy happeded

    • @samaaalsaffar4405
      @samaaalsaffar4405 3 หลายเดือนก่อน

      The same problem

    • @januscapodagli9327
      @januscapodagli9327 หลายเดือนก่อน +1

      Hi. I got the same problem and I fixed it by installing lower version of tensorflow (You need 2.15.1 instead of the 2.17... , because the recent version of tensorflow use keras 3 instead of keras 2, and the website in this video train the model refering to keras 2)

  • @KarthikKarthik-ee3qy
    @KarthikKarthik-ee3qy 2 ปีที่แล้ว +1

    Sir showing me error like want to download tensor flow

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

      try running pip install transferflow

    • @ravishankarkumar5082
      @ravishankarkumar5082 5 หลายเดือนก่อน

      Bro, after using this code and process, your project is working or not? Please reply 🙏

    • @angshuofficial2214
      @angshuofficial2214  4 หลายเดือนก่อน

      Yes it's working fine.

  • @sachinjojare2106
    @sachinjojare2106 5 หลายเดือนก่อน

    raise TypeError(
    TypeError: Error when deserializing class 'DepthwiseConv2D' using config={'name': 'expanded_conv_depthwise', 'trainable': True, 'dtype': 'float32', 'kernel_size': [3, 3], 'strides': [1, 1], 'padding': 'same', 'data_format': 'channels_last', 'dilation_rate': [1, 1], 'groups': 1, 'activation': 'linear', 'use_bias': False, 'bias_initializer': {'class_name': 'Zeros', 'config': {}}, 'bias_regularizer': None, 'activity_regularizer': None, 'bias_constraint': None, 'depth_multiplier': 1, 'depthwise_initializer': {'class_name': 'VarianceScaling', 'config': {'scale': 1, 'mode': 'fan_avg', 'distribution': 'uniform', 'seed': None}}, 'depthwise_regularizer': None,
    'depthwise_constraint': None}.
    Exception encountered: Unrecognized keyword arguments passed to DepthwiseConv2D: {'groups': 1} Sir Plz sort out my error what to do?

    • @angshuofficial2214
      @angshuofficial2214  5 หลายเดือนก่อน

      Have you used the code given in my GitHub page ?

    • @angshuofficial2214
      @angshuofficial2214  5 หลายเดือนก่อน

      It looks like you are having trouble with the TensorFlow Lite model conversion step.
      Here are some general tips for troubleshooting TensorFlow Lite model conversion errors:
      Make sure you have the latest version of TensorFlow installed.
      Check for typos in your code, especially in the model path or format specification.
      If you're using a custom model, make sure it's compatible with TensorFlow Lite.
      Try converting your model to a different format, such as TFLite SavedModel.

    • @sachinjojare2106
      @sachinjojare2106 5 หลายเดือนก่อน

      @@angshuofficial2214 I have copied code as per teachable machine

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

    Can I use esp32 web server?

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

      How also, sir

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

      Yes using micro python

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

      But instead you may use raspberry pi zero