Thank you. You just gave a glimpse of how object detection works. Kinda thinking of doing something similar in mining industry to detect different kind of rocks and sizes.
@lkgpuanimho03494 ай бұрын
Someone in Indonesia did something like this, using OpenCv to detect sex, age and emotions. Then the door behinds him opened and OpenCv detected a 500-year old angry female ghost. True story.
@redx001-xxx4 ай бұрын
👀
@KakashiHatake-jl9gx4 ай бұрын
i got interest in tech cause of you...and i'm loving the process learing new things !!
@TiffInTech4 ай бұрын
that made my day! Thank you so much :)
@KakashiHatake-jl9gx4 ай бұрын
😄
@theophilus4944 ай бұрын
one thing i like about you is your sincerity on how you get things done.. awesome..
@kumardigvijaymishra59454 ай бұрын
Perhaps adding a piece of code that could train the machine to detect different kinds of cup would do the trick. But the cup needs to be detected with open mouth. Cool project Tiff.
@Flat0Line14 ай бұрын
For this kind of stuff - it's like jump from medieval age to the landing on the moon, sadly. Here was just used default classifier for face detection, and actually doesn't really solve the task of "coffee drink detection" and any other custom detection thing. But as first time with openCV it's ok..
@kumardigvijaymishra59454 ай бұрын
@@Flat0Line1 instead of face detection, the code needs to detect the cup, any cup. 'Coffee drink detection' will require a pressure sensor on the coffee mug, NFC device that could send signal to the code, ... that would be landing on moon 🌝
@ozono274 ай бұрын
@@kumardigvijaymishra5945 or detecting the cup AND that the cup has been tilted while the mouth disappears, kinda? without any doubt... the sensor on the mug is much better... for sure.
@shaunweinberg24634 ай бұрын
Full stack dev moving to Data science (again) and doing honorus in Physics maths. I drank up to 20 cups of coffee at a time. I had to change my diet due to the caffeine causing stomach issues. Keep the coffee and sugar down...
@Flat0Line14 ай бұрын
Interesting idea for a project!)) You have a problem with testing on video because your white_pixels are not normalized by the size of the face in the camera view (essentially, it doesn’t check the distance between the face and the camera). So, if you are a little further from the camera, white_pixels will be around 8000-9000 or even 5000, if you are a little closer, it can be more than 80,000.
@ozono274 ай бұрын
might be a good idea to create the threshold not on the amount of pixels in the "region of interest" but the ratio between the pixels of the ROI and the pixels of the face, right? that way, distance would top being an issue? Of course,... looking sideways will create a problem always.
@espnmk4 ай бұрын
Pretty Cool Tiffany thanks for Sharing, definitely will be playing around with this. Your such a wealth of knowledge.
@Nitin-wo5xp4 ай бұрын
Keep going 🎉
@TiffInTech4 ай бұрын
Thank you!!
@pandipatipavan38044 ай бұрын
@@TiffInTechPlease do provide the code files and the links in the description as soon as possible for free 🙏 thank you so much ❤️ All the Best 👍
@UberGeek4 ай бұрын
Cool idea, but it is clear the program is detecting the "white" from the lettering on the coffee mug instead of your teeth, as you have explained. Especially since you are NOT opening your mouth before you lift the mug to... your mouth.😜 How does the code distinguish the difference when you are talking? A better solution might be to have the code identify the "Mug raising" to your mouth. ☕
@HeyItsJonSchwartz4 ай бұрын
code review (and maybe video review) suggestion: If you are trying to explain and/or remember what an acronym means and it's in code you are unfamiliar with, write it out. mouth_roi should be mouth_region_of_interest. It may be tricky to put up on screen, but we're not paying by the character in python, so it's better to make it dead stupid to remember what it meant later. Side effect is you don't need to waste video time explaining that to us. Also, github link?
@TiffInTech4 ай бұрын
Thanks for sharing!!
@HeyItsJonSchwartz4 ай бұрын
@@TiffInTech I just reread what I wrote and I hope you take that comment the way I intended which is to say trying to be helpful but happy to have you tell me to kick rocks if you disagree. I really liked the video and I hope you share more like this.
@Flat0Line14 ай бұрын
Yep, it's very good approach in general - at work especially)
@moisesespiritosanto21954 ай бұрын
Hi, I'm from São Paulo! Yeah excellent! ABRAÇO FORTE DE URSO!
@TiffInTech4 ай бұрын
Yay!! Hope you have an amazing weekend!
@moisesespiritosanto21954 ай бұрын
@@TiffInTechHey, you too!!!
@oooooohmylisa24 күн бұрын
你很好看,好喜欢你哈哈哈,视频不错
@aresaurelian4 ай бұрын
Well done, Tiff! We love when you explore the unknown (to most of us) of AI. This is so exciting and interesting. What a fantastical world we are in. And together is more fun.
@Sumandass_14 ай бұрын
Lots of love from India
@TiffInTech4 ай бұрын
Wishing you all the best!
@PointEndClick4 ай бұрын
This video is awesome.
@TiffInTech4 ай бұрын
Thank you!💗
@TheMetalMag4 ай бұрын
excellent thank you! you give different view on creating project
@Jibril_Abdulkadir4 ай бұрын
This is why I code to do funny projects 😂😂
@TiffInTech4 ай бұрын
Hahah totally
@rudyvaldez4 ай бұрын
Bad ass!
@TiffInTech4 ай бұрын
Cheers!!
@othmanaljbory36494 ай бұрын
I'm love you thank you so much
@TiffInTech4 ай бұрын
Cheers!
@DavidTheWiseOne4 ай бұрын
@@TiffInTech Lucky lucky chair 🪑 😍😍
@G_a_n_d_u4 ай бұрын
oye oye balle balle
@AvinashSingh-vj3rk4 ай бұрын
❤
@TiffInTech4 ай бұрын
💗💗💗
@WilsonMar14 ай бұрын
You have a github repo of code for what you're showing?
@thgorobets4 ай бұрын
Oh, well, I need a cup of Coffee right now!
@chukwuemekailozor91054 ай бұрын
Did the code confirm that it was coffee in the cup? What if you were drinking whiskey?
@DrJ_Endoking934 ай бұрын
Lovryou babe❤
@chiluone4 ай бұрын
Nice Background Music :D :D
@Ilovecookingtheinternetbums4 ай бұрын
Hi Tiffany, please what exactly do you? What's a day life in Tiffany's like?🤣. I think ppl would be very interested. Thanks.
@TiffInTech4 ай бұрын
Forsure!!
@davidmckee5334 ай бұрын
Baddd tiff tooo much coffee!!! the next level should be a warning you have entered "kidney stone level". something to that effect. Thanks Tiff you are great
@TiffInTech4 ай бұрын
Haha! Promise it’s not actually that much 🫣😆 thank you!!
@LinuxForLife4 ай бұрын
I think you are wrong when trying to detect your "open mouth"... 😉 I think it will be more accurate to focus on the cup (of coffee) detection.
@MyExRebirth4 ай бұрын
If you need AI vision to control and remind you of your cofee drinking habit, you might wanna use a catheter during work as well
@kriscatz22984 ай бұрын
Wondering if it is possible to make a mobile app that does this? 🤔
@Civernet004 ай бұрын
I confirmed she's pretty good
@B_knows_A_R_D-xh5lo4 ай бұрын
try hot chocolate! 🎉❤😊
@TiffInTech4 ай бұрын
Yessss! I love chocolate so I should
@steveheyden92194 ай бұрын
How many cups at a time?
@TiffInTech4 ай бұрын
always too many cups!!!
@aryansahare11453 ай бұрын
I usually count myself
@MTMixTV4 ай бұрын
From India 🇮🇳🪷
@TiffInTech4 ай бұрын
Wishing you a great day!!
@MTMixTV4 ай бұрын
@@TiffInTech Here It's Night 😂
@JustinMacri0074 ай бұрын
I wish tiff was my friend
@ronnie-codes4 ай бұрын
I envy how healthy you look.
@JimDooley4 ай бұрын
haha. say "th" 10 times fast.
@TiffInTech4 ай бұрын
😆😆
@romulomanrique67654 ай бұрын
eres demasiado hermosa
@kennethshupe89464 ай бұрын
I want to see this combined with Pavlok, that way instead of a notification, you would get shocked. Perhaps if someone is trying to quit vaping.
@TiffInTech4 ай бұрын
Haha ohhhh!! I mean maybe that would help people
@KonstantinKovalenko-d3b4 ай бұрын
How often I drink coffee🤦♂can't you count?
@mrbane20003 ай бұрын
This video made me little annoyed, because its not working well. And i'm not even Python i ditched it in 2016 when i started learning it because i though it will be popular. But i found my self fixing indentions when copying code annoying. Although there is Bython now. So i made my own version how i think this code would work better....
@mrbane20003 ай бұрын
Just put face detection also and if face is gone and circle is near face condition to improve it. Quite easy, every cup has a circle... import cv2 import time as time import numpy as np cap=cv2.VideoCapture(0) inicialCircles=0; sip = 0 inicialTime=int(time.time()) timeSinceSip=0 while True: _,frame=cap.read() actualTime=int(time.time()) timeSinceSip=actualTime-inicialTime image = frame.copy() gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) circles = cv2.HoughCircles(gray, cv2.HOUGH_GRADIENT, 1.2, 100) if circles is not None: circles = np.round(circles[0, :]).astype("int") for (x, y, r) in circles: if r
@tony91464 ай бұрын
😂 going full CCP on yourself This is great though. You could supplement this with a scale that measures the weight of the cup so that you can measure rate of consumption, and you could even place a QR code or barcode on your cup.
@shaun.august4 ай бұрын
Python is great for automating things and managing data, but you don't need Python or computer vision just to figure out how many times you drink coffee. We can drink coffee up to 5 times at most, no need to count it. That doesn’t make sense. computer vision should be used for things like tracking how many times you toss and turn at night while sleeping. that makes a complete sense.
@zainabbas61674 ай бұрын
tiff the best in tech 🫶 Thanks for sharing these kind of videos 😊