SalteeKiller
SalteeKiller
  • Видео 97
  • Просмотров 170 527

Видео

Dji Mavic 3 Pro sunrise
Просмотров 114 месяца назад
Dji Mavic 3 Pro sunrise
Stake Conference Intro Video
Просмотров 2425 месяцев назад
This is an intro to stake conference for The Church of Jesus Christ of Latter-Day saints. I made this as a service to The Church using the Mavic Pro 3 and edited with Lumafusion. Hello and welcome to The Church of Jesus Christ of Latter-Day Saints! I'm sister so and so and this is sister so and so. We believe in the same principles that Christ established in Jerusalem when he was on earth. We b...
Knoxville Temple Ground Breaking Birds Eye View | Drone 2024
Просмотров 1206 месяцев назад
Experience the momentous Knoxville Temple Ground Breaking like never before with our breathtaking Bird's Eye View captured by a drone in 2024! Immerse yourself in the awe-inspiring sights and witness the beginning of a monumental journey as we bring you exclusive perspectives from above. Subscribe for more unique and captivating content as we continue to share extraordinary events from a new va...
Bryli Evans - Christmas Is Every Day (Official Music Video)
Просмотров 4288 месяцев назад
Christmas is Every Day is sung by Bryli Evans, written by Jonathan Clark; produced, shot, edited, and directed by Kent Taylor @SalteeKiller and our second shooter is Randy Vasofsky! The song is the essence of the holiday spirit beyond the confines of a specific season. The lyrics celebrate the values associated with Christmas-love, joy, giving, and togetherness-and advocate for embodying these ...
October 29, 2023
Просмотров 188 месяцев назад
October 29, 2023
The items Catholic Charities put into Knoxville’s Giving Machine is going to CHANGE THINGS!
Просмотров 148 месяцев назад
The items Catholic Charities put into Knoxville’s Giving Machine is going to CHANGE THINGS! 😮 Operated by The Church of Jesus Christ of Latter-Day Saints, this unique initiative brings together local charities and global organizations to make a meaningful impact. From November 15th to 28th, 2023 You can visit the Giving Machine at: The At Home store in the Turkey Creek Shopping Center, located ...
Creating Custom Object Classes In Python In 20 Minutes! For Beginners and Intermediate
Просмотров 110Год назад
Welcome to Lesson 11 where you will be Creating Object Classes using Python in 20 Minutes! Coding Tutorial for Beginners course! If you like these videos, please subscribe so that you will be notified when the next video goes up. Need some Coding Merchandise to wear? www.salteekiller.store My Portfolio Website: kst-bottega-react-portfolio.herokuapp.com/ WATCH NEXT: Build a Weather App in 25 min...
Girls Camp 2023
Просмотров 222Год назад
Girls Camp 2023
STAR WARS Jedi: Survivor_20230429232106
Просмотров 81Год назад
STAR WARS Jedi: Survivor_20230429232106
Drone footage google earth finds
Просмотров 44Год назад
Drone footage google earth finds
OBS Studio Tips and Tricks | How to use OBS Studio controls and effects on a Zoom meeting
Просмотров 3,5 тыс.Год назад
OBS Studio Tips and Tricks | How to use OBS Studio controls and effects on a Zoom meeting
Python for Beginners Full Course || Lesson 10 || Define Functions || SalteeKiller
Просмотров 1572 года назад
Python for Beginners Full Course || Lesson 10 || Define Functions || SalteeKiller
Python for Beginners Full Course || Lesson 9 || Restaurant || SalteeKiller
Просмотров 1552 года назад
Python for Beginners Full Course || Lesson 9 || Restaurant || SalteeKiller
Object Detection using OpenCV Python in 15 Minutes! Coding Tutorial #python #beginners
Просмотров 85 тыс.2 года назад
Object Detection using OpenCV Python in 15 Minutes! Coding Tutorial #python #beginners
OpenCV Python Tutorial Face Recognition Face Blur | Blur out everyone's face in a live video!
Просмотров 2,6 тыс.2 года назад
OpenCV Python Tutorial Face Recognition Face Blur | Blur out everyone's face in a live video!
How to impress your Valentine with code in 2 MINUTES | Python for Beginners | Code with SalteeKiller
Просмотров 6852 года назад
How to impress your Valentine with code in 2 MINUTES | Python for Beginners | Code with SalteeKiller
I coded COVID-19 in less than 60 seconds! Python Animation TURTLE Tutorial | SalteeKiller
Просмотров 1892 года назад
I coded COVID-19 in less than 60 seconds! Python Animation TURTLE Tutorial | SalteeKiller
How to add ICONS in HTML and CSS | Web Design tutorial | SalteeKiller
Просмотров 3992 года назад
How to add ICONS in HTML and CSS | Web Design tutorial | SalteeKiller
Building Apple's Website Design in x12 speed! || Only using HTML and CSS || SalteeKiller Time Lapse
Просмотров 3112 года назад
Building Apple's Website Design in x12 speed! || Only using HTML and CSS || SalteeKiller Time Lapse
How to CODE R2-D2 Siri Alexa Python for BEGINNERS Coding with SalteeKiller Virtual Assistant Part 3
Просмотров 2,2 тыс.2 года назад
How to CODE R2-D2 Siri Alexa Python for BEGINNERS Coding with SalteeKiller Virtual Assistant Part 3
Python for Beginners Full Course || Lesson 8 || While loop || LogIn Sign In || SalteeKiller
Просмотров 2742 года назад
Python for Beginners Full Course || Lesson 8 || While loop || LogIn Sign In || SalteeKiller
How to code your own Flask Application | API | Python | Database | SalteeKiller LIVE
Просмотров 2152 года назад
How to code your own Flask Application | API | Python | Database | SalteeKiller LIVE
Learn how to code for beginners with SalteeKiller
Просмотров 3,4 тыс.2 года назад
Learn how to code for beginners with SalteeKiller
Python for Beginners Full Course || Lesson 7 || While loop || SalteeKiller
Просмотров 1212 года назад
Python for Beginners Full Course || Lesson 7 || While loop || SalteeKiller
Python for Beginners Full Course || Lesson 6 || SalteeKiller
Просмотров 1482 года назад
Python for Beginners Full Course || Lesson 6 || SalteeKiller
Python for Beginners Full Course || Lesson 5 || SalteeKiller
Просмотров 1362 года назад
Python for Beginners Full Course || Lesson 5 || SalteeKiller
Python for Beginners Full Course || Lesson 4 || SalteeKiller
Просмотров 2032 года назад
Python for Beginners Full Course || Lesson 4 || SalteeKiller
Python for Beginners Full Course || Lesson 3 || SalteeKiller
Просмотров 1872 года назад
Python for Beginners Full Course || Lesson 3 || SalteeKiller
Python for Beginners Full Course || Lesson 2 || SalteeKiller
Просмотров 2962 года назад
Python for Beginners Full Course || Lesson 2 || SalteeKiller

Комментарии

  • @santkumarsingh-su4uj
    @santkumarsingh-su4uj 6 дней назад

    🎉❤🎉❤😅❤

  • @wlt6311
    @wlt6311 9 дней назад

    nice video

  • @user-bg4wj3og1l
    @user-bg4wj3og1l 26 дней назад

    Unable to add a web camera Can be used in many formats (zoom)

  • @bhavana.m4467
    @bhavana.m4467 Месяц назад

    I'm getting error in pip install gtts playsound , please help me out with this

  • @SoniaAli-ft5cb
    @SoniaAli-ft5cb Месяц назад

    Error

  • @osanyinjobioluwatosin621
    @osanyinjobioluwatosin621 Месяц назад

    what about the dataset that was used for training and testing or where is it fetching the data from

    • @saadibrahim3822
      @saadibrahim3822 Месяц назад

      We are using a pre built model that is already trained.

  • @user-th2mv2mq1t
    @user-th2mv2mq1t Месяц назад

    How to deploy it on our laptop

  • @dorisanima2806
    @dorisanima2806 2 месяца назад

    Thank you so much

  • @VybeWings
    @VybeWings 3 месяца назад

    How do i open the window of the recognition???

  • @user-lk3zh1wg6y
    @user-lk3zh1wg6y 3 месяца назад

    Bravo

  • @user-lk3zh1wg6y
    @user-lk3zh1wg6y 3 месяца назад

    1352024

  • @rverm1000
    @rverm1000 3 месяца назад

    do you know why it throws an error. requires tensorflow?

    • @supdarlintakemeoutyodinner1033
      @supdarlintakemeoutyodinner1033 Месяц назад

      pyobjc is not for windows it only works with macos i have the same problem wondering if u found the soulution

  • @rverm1000
    @rverm1000 3 месяца назад

    nice video. have you ever gotten it to recognize coins and dates on coins?

  • @zunaidhassan9662
    @zunaidhassan9662 3 месяца назад

    2:53 PyObjC is for MacOS only.

  • @siddharthkakkar9527
    @siddharthkakkar9527 3 месяца назад

    I am getting the following error even after successfully installing and importing required libraries :- cv2.error: OpenCV(4.9.0) /io/opencv/modules/dnn/src/darknet/darknet_io.cpp:705: error: (-215:Assertion failed) separator_index < line.size() in function 'ReadDarknetFromCfgStream' . I guess this is related to "dnn"" in OpenCV. How can I resolve this issue ? (OS is Windows 10)

  • @wangormb
    @wangormb 3 месяца назад

    Not working on latest Mac OS on m3

    • @SalteeKiller
      @SalteeKiller 3 месяца назад

      I’m getting reports it’s working on M3. Double check installations and source code: github.com/Kent-Taylor/object-detection/blob/main/main.py

  • @abulhasan923
    @abulhasan923 3 месяца назад

    It is showing "nomodulefound" error and it's saying "No module named tensorflow" Its saying the error is in importing drawbbox from cvlib.object_detection

  • @panzznine713
    @panzznine713 4 месяца назад

    Hello sir, can i also perform what you did using visual studio code?

  • @GizmoTheDev
    @GizmoTheDev 4 месяца назад

    im like your 1998 sub

    • @SalteeKiller
      @SalteeKiller 4 месяца назад

      Wow you were so close! ❤️

  • @kvcreations2020
    @kvcreations2020 4 месяца назад

    it says that in the first run to see the video box

  • @user-rt6ue7dj5h
    @user-rt6ue7dj5h 4 месяца назад

    cool video)

  • @dathatreyasastry2005
    @dathatreyasastry2005 4 месяца назад

    bro, i am speaking the text but not getting the youtube page opened. the output terminal is showing this"you said: xyz.............youtube.'. thats it. youtube is not getting opened. please help me bro

  • @tl0470
    @tl0470 4 месяца назад

    Check out Felippe Nardi for some more OBS tips and tricks.

  • @Arif_Hana
    @Arif_Hana 4 месяца назад

    good sir, thank you, but now how can i add some voice activation before that code, like oke google or whatever i said?

    • @SalteeKiller
      @SalteeKiller 4 месяца назад

      So saying “okay Google” works on Google phones because their code IS always running. Saying “hey Siri” works on iPhones because their code is always running. For those who do have iPhones, when your battery is low you can go into “Low Power Mode”, then saying “hey Siri” doesn’t work anymore, you have to manually hold down the home or power button. That’s because they turn off the “hey siri” program to save power.

    • @Arif_Hana
      @Arif_Hana 4 месяца назад

      @@SalteeKiller okay sir, i mean here i am making a voice controlled RC car project, and i want to implement your code. i need a voice activation before giving commands to the robot like turn right or left, what should i add in your code so that the code runs continuously and gets voice activation

    • @SalteeKiller
      @SalteeKiller 4 месяца назад

      Yeah sure, of course I can’t do it all for you for all your specifications but To implement continuous voice activation before giving commands to the robot, you can modify the `get_audio()` function to continuously listen for the activation phrase before accepting other commands. Here's how you can do it: ```python def get_audio(): while True: recorder = sr.Recognizer() with sr.Microphone() as source: audio = recorder.listen(source) try: speech_text = recorder.recognize_google(audio) print(speech_text) if "R2-D2" in speech_text: speech("\tHow may I help you?") playsound("./sounds/activate.wav") # Now listen for the actual command after activation while True: audio = recorder.listen(source) command = recorder.recognize_google(audio) if command.strip() != "": return command.strip() else: break except sr.UnknownValueError: print("Google Speech Recognition could not understand audio") except sr.RequestError as e: print("Could not request results from Google Speech Recognition service; {0}".format(e)) ``` This modified function first listens for the activation phrase ("R2-D2"). Once it detects the activation phrase, it prompts the user with a response and then listens for the actual command continuously until one is detected. Once a command is detected, it returns that command for further processing in your code.

    • @Arif_Hana
      @Arif_Hana 4 месяца назад

      @@SalteeKiller wow sir, thank you so much

  • @demonman1234
    @demonman1234 5 месяцев назад

    For anyone doing this today/in the future: You can add these 2 lines of code to the bottom of your program if you don’t want the video capture to linger. He didn’t do it in the video. video.release() Cv2.destroyAllWindows

  • @AdityaKumar-fn6ny
    @AdityaKumar-fn6ny 5 месяцев назад

    i am using windows and i get error in cv.detect_common_objects(frame), what i have learned it works on mac only so any alternative command for windows

    • @SalteeKiller
      @SalteeKiller 5 месяцев назад

      The `cv.detect_common_objects()` function from `cvlib` is designed to work on both Windows and macOS. The error you're encountering might be due to a different issue, such as an incorrect installation or an issue with the camera feed. To troubleshoot the error, you can try the following: 1. **Check Installation:** Ensure that `cvlib` is installed correctly in your Python environment. You can reinstall it using pip: ``` pip install cvlib ``` 2. **Check Camera Feed:** Make sure that your camera is connected properly and that it's providing frames to the script. You can print out the `frame` variable before calling `cv.detect_common_objects()` to check if it's `None`. 3. **Update Code:** Try updating your code to handle potential errors more gracefully. For example, you can add error handling around the `cv.detect_common_objects()` call to catch any exceptions: ```python try: bbox, label, conf = cv.detect_common_objects(frame) except Exception as e: print("Error detecting objects:", e) continue # Skip to the next iteration of the loop ``` This will print out any errors that occur during object detection and continue to the next iteration of the loop without crashing the script.

  • @arunvv3273
    @arunvv3273 5 месяцев назад

    AttributeError: 'NoneType' object has no attribute 'shape' this error is occuring while running

    • @SalteeKiller
      @SalteeKiller 5 месяцев назад

      Sure thing! The error `AttributeError: 'NoneType' object has no attribute 'shape'` is likely occurring because the `frame` variable is `None` at some point in your code. This might happen when the video feed is not being read correctly or when the object detection function (`cv.detect_common_objects`) fails to detect any objects. Here are some steps to handle this issue: 1. **Check Video Capture:** Make sure the video feed is being read correctly from your camera (`VideoCapture(1)`). You can add a check to ensure that the `frame` is not `None` before proceeding with object detection. 2. **Handle NoneType:** Update your code to handle the case where `frame` might be `None`. This can happen if the camera is not providing frames properly or if there's an issue with the connection. Here's an updated version of the code with error handling for `NoneType`: ```python import cv2 import cvlib as cv from cvlib.object_detection import draw_bbox from gtts import gTTS from playsound import playsound from food_facts import food_facts def speech(text): print(text) language = "en" output = gTTS(text=text, lang=language, slow=False) output.save("./sounds/output.mp3") playsound("./sounds/output.mp3") video = cv2.VideoCapture(1) labels = [] while True: ret, frame = video.read() if frame is not None: # Bounding box. # the cvlib library has learned some basic objects using object learning # usually it takes around 800 images for it to learn what a phone is. bbox, label, conf = cv.detect_common_objects(frame) output_image = draw_bbox(frame, bbox, label, conf) cv2.imshow("Detection", output_image) for item in label: if item in labels: pass else: labels.append(item) if cv2.waitKey(1) & 0xFF == ord("q"): break # If no objects are detected, handle the case gracefully if len(labels) == 0: print("No objects detected.") else: i = 0 new_sentence = [] for label in labels: if i == 0: new_sentence.append(f"I found a {label}, and, ") else: new_sentence.append(f"a {label},") i += 1 speech(" ".join(new_sentence)) speech("Here are the food facts I found for these items:") for label in labels: try: print(f" \t{label.title()}") food_facts(label) except: print("No food facts for this item") # Release the video capture and close any open windows video.release() cv2.destroyAllWindows() ``` This code will ensure that if `frame` is `None`, it will skip the object detection step and print "No objects detected." This should help prevent the `NoneType` error from occurring.

  • @arunvv3273
    @arunvv3273 5 месяцев назад

    while runing this code an eror no module named tenserflow is found is coming there need of tenserflow library for this code then why is that eror

    • @SalteeKiller
      @SalteeKiller 5 месяцев назад

      If you're encountering an error stating "no module named tensorflow" even though you're not directly using TensorFlow in your code, it might be due to `cvlib` or other libraries indirectly requiring TensorFlow as a dependency. When you install `cvlib`, it installs `tensorflow` as one of its dependencies. So, even if you're not explicitly importing TensorFlow in your code, `cvlib` utilizes it internally for certain operations. To resolve this error, you'll need to ensure that `tensorflow` is installed in your Python environment. You can install it using pip: ``` pip install tensorflow Or if in pip3 then use: pip3 install tensorflow ``` Make sure to install TensorFlow in the same Python environment where you're running your script. After installing TensorFlow, the error should be resolved, and you should be able to run your code without encountering the "no module named tensorflow" error.

    • @arunvv3273
      @arunvv3273 5 месяцев назад

      @@SalteeKiller cv2.error: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\darknet\darknet_io.cpp:705: error: (-215:Assertion failed) separator_index < line.size() in function 'cv::dnn::darknet::ReadDarknetFromCfgStream' can you define this eror it comes while running the code

  • @magesticmushroomgarden6914
    @magesticmushroomgarden6914 5 месяцев назад

    × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [2 lines of output] running egg_info error: PyObjC requires macOS to build [end of output]

    • @SalteeKiller
      @SalteeKiller 5 месяцев назад

      That sounds frustrating! If you’re on pc and running into that issue, it sounds like it doesn’t like playsound. So try accessing your local environments dependencies to run the sound instead:) here’s a simple way of playing an mp3 file like we did: import os def play_sound(filename): os.system(f'start {filename}') play_sound('sound.mp3') # Replace 'sound.mp3' with your sound file

  • @zacherymcclendon3945
    @zacherymcclendon3945 5 месяцев назад

    Bro that 3 days later hit me right in the gut trying to get this to work on arch Linux is so difficult but we’re almost there lol

  • @tesnimkhoiadja7628
    @tesnimkhoiadja7628 5 месяцев назад

    please can someone tell me what software is he using !!

    • @SalteeKiller
      @SalteeKiller 3 месяца назад

      This is PyCharm but can also be used in vsCode

  • @TheMrSzony
    @TheMrSzony 5 месяцев назад

    Too bad it's using tensorflow in the background would love to see a lib that does not use it in the background.

  • @moreflozz
    @moreflozz 5 месяцев назад

    Hey, it's giving me a warning "Unresolved reference 'gtts'" and the same thing for gTTS and playsound. Any fixes?

    • @SalteeKiller
      @SalteeKiller 5 месяцев назад

      Yes so it usually means it can’t see where you have installed gtts as well as play sound. So double check those. Make sure you do all the correct spellings, including upper casing and such as I did in the video:) I don’t think gtts nor play sound has made any huge updates to cause this to not work anymore as it’s still working for others and myself at this point. So go back and double check WHERE, HOW and with which case sensitivity is needed to install it. Let us know!

    • @moreflozz
      @moreflozz 5 месяцев назад

      @@SalteeKiller will this tutorial work on pycharm?

    • @SalteeKiller
      @SalteeKiller 5 месяцев назад

      @@moreflozz yes I did this in PyCharm in the video

    • @moreflozz
      @moreflozz 5 месяцев назад

      @@SalteeKiller okay, thanks!

  • @adhyangoswami3373
    @adhyangoswami3373 6 месяцев назад

    What IDE are you using?

  • @tanishkshrivastava9921
    @tanishkshrivastava9921 6 месяцев назад

    I am getting this error cv2.error: OpenCV(4.9.0) /io/opencv/modules/dnn/src/darknet/darknet_io.cpp:705: error: (-215:Assertion failed) separator_index < line.size() in function 'ReadDarknetFromCfgStream' please help

    • @nocore5181
      @nocore5181 6 месяцев назад

      same here did you find a fix?

    • @mysupersecretacount
      @mysupersecretacount 5 месяцев назад

      same here did you get a fix to this problem?

  • @dgadstv3876
    @dgadstv3876 6 месяцев назад

    Good day sir. I am using python 3.12.1 but your code when run is said cvlib not found, what should i do?

  • @dlfx2532
    @dlfx2532 6 месяцев назад

    i have error with distutils how do i fix that

  • @trsk
    @trsk 6 месяцев назад

    Thank you sir If i want to add feature like giving response to a question " hey do you find an apple " by this model the response should be "yes apple found on the table or person hand". How to achieve this result sir

  • @jordanvarnon4835
    @jordanvarnon4835 6 месяцев назад

    Ah such beautiful mud

  • @muhammadrizkinasrulloh40
    @muhammadrizkinasrulloh40 6 месяцев назад

    mantap bang

  • @jon-cao
    @jon-cao 6 месяцев назад

    i'm getting the following error when trying to run this: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\darknet\darknet_io.cpp:705: error: (-215:Assertion failed) separator_index < line.size() in function 'cv::dnn::darknet::ReadDarknetFromCfgStream' error is occuring on the cv.detect_common_objects(frame) line

    • @SalteeKiller
      @SalteeKiller 6 месяцев назад

      Hello sorry about your error, however, it doesn’t look like it’s the entire error message? Usually the cause of the error tells you what’s wrong at the bottom of the error, at least it does in Python.

  • @Lateshspinxter
    @Lateshspinxter 6 месяцев назад

    Bro i ve followed all of the steps you did but when i run the code all i see is some other code i did not write can you assist me

  • @ibrahimnasir6101
    @ibrahimnasir6101 6 месяцев назад

    If, after running the program, we say anything random like "Play Saltee Killer video on youtube" instead of saying" R2D2", the program would still execute that command because the whole text would just go to the else part. So How does saying "R2D2" activate the Voice Assistant?

    • @SalteeKiller
      @SalteeKiller 6 месяцев назад

      Great, thinking! After the program runs your command, whatever it is, just add a break, and it will go back to the program listening for R2-D2. After an error, or command runs, have it run the “listen for comman” loop.

    • @ibrahimnasir6101
      @ibrahimnasir6101 6 месяцев назад

      @@SalteeKiller thank youuu

    • @ibrahimnasir6101
      @ibrahimnasir6101 6 месяцев назад

      Hey @salteekiller What would be the difference between an API and dependencies? Is there any API used here?

    • @SalteeKiller
      @SalteeKiller 6 месяцев назад

      It can be classes, functions or api’s. Dependencies are typically modules or libraries that provide additional functionality. They are often accessed through classes or APIs (Application Programming Interfaces) that define how to interact with them. APIs can be part of a library or module, and classes are a way to structure and organize code within those libraries.

    • @ibrahimnasir6101
      @ibrahimnasir6101 6 месяцев назад

      @@SalteeKiller thank youu❤️

  • @satwikpasumarthi9107
    @satwikpasumarthi9107 6 месяцев назад

    when I am running for the first time its getting an attribute error How to fix it

  • @GABRIELDAVID-zv8vo
    @GABRIELDAVID-zv8vo 7 месяцев назад

    Please can you create ai command assistant that can no wifi that can also talk joke more functional 😢😢😢

  • @Mani-jf2hu
    @Mani-jf2hu 7 месяцев назад

    Sir "Pywhatkit" is not downloading..it shows wheel building error.. Please help me...tell what to do😢

    • @SalteeKiller
      @SalteeKiller 7 месяцев назад

      Could you provide more details about the error message you're encountering while trying to install PyWhatKit? 1: what’s Python version do you have? 2: what command are you typing in to install? 3: what directory are you in while trying to type in that command? 4: what does the error message say exactly?

    • @Mani-jf2hu
      @Mani-jf2hu 7 месяцев назад

      1.) python version 3.9 2.) Pip Install pywhatkit 3.) I am using pycharm...I am making an voice assistant. 4.)Error : Failed Building Wheel for Pillow. (While I am downloading pywhatkit in terminal it shows building wheel for pillow was failing) then I also downloaded an pillow but no use.. What to do sir..please tell me 🙏🏻..I am facing this from one week

    • @Mani-jf2hu
      @Mani-jf2hu 7 месяцев назад

      Please tell me what to do...to clear this error please sir..

    • @SalteeKiller
      @SalteeKiller 7 месяцев назад

      It seems like the error is related to the Pillow library, a dependency of PyWhatKit. Try installing Pillow separately first using the following command: pip install pillow Make sure you are using an updated version of pip. Once Pillow is installed successfully, attempt to install PyWhatKit again: pip install pywhatkit If the problem persists, you might consider creating a virtual environment and then installing the libraries. Sometimes conflicts between existing packages can cause installation issues. Also, ensure you’re running the commands in an administrator or superuser mode, depending on your system, to avoid permission issues during installation.

  • @ImranShaikh-bz3bo
    @ImranShaikh-bz3bo 7 месяцев назад

    none type object has no attribute shape error is coming, i added a if frame is none and i see an error reading the frame how to fix it if there is an issue with camera connection please help

    • @SalteeKiller
      @SalteeKiller 7 месяцев назад

      1. Image Loading Issue: Ensure that the image is loaded correctly using OpenCV (cv2.imread()). Check the path to the image file and make sure it exists. Verify that the image is loaded and not None. 2. Object Detection Result: If the object detection function doesn’t find any objects in the image, it might return None. Ensure that the object detection method is properly applied to the loaded image and that it’s capable of detecting objects in the given context. Here’s an example of how to handle these cases in your code: import cv2 import cvlib as cv image = cv2.imread('test1.jpg') if image is not None: result = cv.detect_common_objects(image) if result is not None and 'objects' in result: for obj in result['objects']: print(obj) else: print("No objects detected in the image.") else: print("Error loading the image.") This code checks if the image is loaded correctly and then proceeds with object detection. If the image loading fails or if no objects are detected, it provides an appropriate message.

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

    i have one question. whenever i detect something on the camera and try to execute a function as a result of the camera detecting the object the camera lags a lot on python which makes everything very inconsistent, how do i fix that issue?

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

      The lag you're experiencing might be due to the processing load when performing object detection in real-time. This happens because object detection is computationally intensive, especially when running it continuously on a live video feed. Here are some strategies to potentially reduce the lag: 1. **Optimize Object Detection:** Experiment with different object detection models or libraries. Some models are lighter and faster but might sacrifice accuracy. For example, YOLOv3 might be faster than YOLOv4 but slightly less accurate. 2. **Frame Skipping:** Process every nth frame instead of every frame. For instance, you might detect objects every 3 or 5 frames instead of every frame to reduce processing load. 3. **Reduce Image Size:** Decrease the resolution of frames if possible. Smaller images require less processing power for object detection. 4. **Hardware Acceleration:** Utilize GPU (if available) for acceleration. Many object detection libraries have GPU support for faster computation. Ensure your code is configured to use the GPU if it's available. 5. **Multithreading/Asynchronous Processing:** Use multithreading or asynchronous processing to separate the camera feed acquisition and object detection. This way, while detection occurs, the camera can continue capturing frames without waiting for the detection process to complete for each frame. 6. **Hardware Upgrade:** If possible, consider upgrading your hardware to a more powerful CPU or utilizing a dedicated machine for this task. Implementing these strategies could help mitigate the lag and improve the consistency of your real-time object detection application. Experimenting with these optimizations should allow you to find the right balance between speed and accuracy for your specific use case.

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

      thank you for the advice

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

    "Promo sm"

  • @Ernie-Tech
    @Ernie-Tech 8 месяцев назад

    very very very impressive the way you so easily program this, my compliments! I'm wondering if I could count the fish in my pond with a life camera stream, using your code only to tell the difference between all the different fish (>100) and keep track of them swimming by. Do you think using your example I would make a good start in this?

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

      Counting individual fish in a live camera stream can be quite challenging, especially distinguishing between a large number of fish with varying shapes, colors, and movements. While object detection can help identify and localize objects (in this case, fish), counting them accurately might require more specialized techniques. Here’s an approach you might consider: 1. Object Detection: Use the object detection techniques you’ve been working with to identify fish in the video stream. This would involve the use of YOLO, SSD, or similar models to detect and label fish. 2. Tracking: Implement a tracking algorithm to keep track of individual fish as they move across frames. Various tracking algorithms, like centroid tracking or Kalman filtering, can help maintain identities of different objects (fish) across frames. 3. Counting: Develop a counting mechanism that keeps track of unique identities assigned to each fish. As new fish are detected, assign them unique IDs and update their positions through the tracking mechanism. Then, count the unique IDs to determine the total number of distinct fish detected. This process requires combining object detection with object tracking and maintaining a system to differentiate between individual fish. It might involve some trial and error to fine-tune the detection and tracking algorithms for accurate counting, especially in complex environments like a pond with multiple fish. Additionally, the success of this approach might depend on factors such as lighting conditions, water clarity, fish size, and the camera’s positioning. Calibration and adjustments may be needed to account for these variables.

    • @Ernie-Tech
      @Ernie-Tech 8 месяцев назад

      @@SalteeKiller Thank you so very much for putting me on the right path. I'm quite a newbe to python and pycharm, but I will give it my best shot. At least I'm very inspired by your works and reply!!!

    • @bruh-maan
      @bruh-maan 6 месяцев назад

      Ain't no way you used chatGPT to reply to his comment ​@SalteeKiller