Chat with an image | LangChain custom tools tutorial | Python Streamlit | Computer vision

  Рет қаралды 9,955

Computer vision engineer

Computer vision engineer

Күн бұрын

Code: github.com/computervisioneng/...
0:00 Intro
0:54 Start
2:29 Project overview
8:13 Main process
12:38 Auxiliary functions
27:06 LangChain custom tools
35:58 Create agent
51:32 Demo
52:40 Let's have some fun!
54:22 Outro
#computervision #python #webapp #computervisiontutorial #langchain #streamlit

Пікірлер: 49
@ComputerVisionEngineer
@ComputerVisionEngineer 9 ай бұрын
Did you enjoy this video? Try my premium courses! 😃🙌😊 ● End-To-End Computer Vision: Build and Deploy a Video Summarization API bit.ly/3tyQX0M ● Hands-On Computer Vision in the Cloud: Building an AWS-based Real Time Number Plate Recognition System bit.ly/3RXrE1Y ● Machine Learning Entrepreneur: How to start your entrepreneurial journey as a freelancer and content creator bit.ly/4bFLeaC All my premium courses are available to the Computer Vision Experts in my Patreon. 😉 www.patreon.com/ComputerVisionEngineer
@python360
@python360 11 ай бұрын
Very cool project, video deserves many many views! Subscribed.👍
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
Thank you! Glad you enjoyed it! 😃💪
@WelcomeToMyLife888
@WelcomeToMyLife888 11 ай бұрын
awesome, your hard work is much appreciated!
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
😃 Thank you! Glad you enjoyed the video! 🙌
@ingluissantana
@ingluissantana 11 ай бұрын
Looks like a great project!! Gracias!!
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
Yeah it is a great project to get more familiar with LangChain! 😃🦾 De nada!
@user-wt3fh6kq5e
@user-wt3fh6kq5e 9 ай бұрын
it's great,make the knowledge easier and more interesting,thank you very much.
@ComputerVisionEngineer
@ComputerVisionEngineer 9 ай бұрын
You are welcome! Glad you enjoyed it. 🙌
@ishujain9343
@ishujain9343 8 ай бұрын
Awesome work Sir 💯
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
Thank you! 😃
@sreekartammana
@sreekartammana 11 ай бұрын
Waooo, this looks awesome💥
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
😃 It is a very cool project!! Glad you enjoyed it, Sreekar! 🙌
@RudraGoswami-wz8hv
@RudraGoswami-wz8hv Ай бұрын
How to fine tune the model on custom data? As it is specific to the training dataset associated with Open AI
@adnanahmad4168
@adnanahmad4168 11 ай бұрын
Bro please please create a video on how to deploy Yolov8 trained custom model on Nano Jetson. I have submission of my Final Year Project within a week and I can't find help regarding that. Please do it.
@hiteshram7421
@hiteshram7421 11 ай бұрын
Great Project😃😃
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
Yeah I enjoyed it a lot! 😃💪
@tancheeken
@tancheeken 9 ай бұрын
Hi, thank you for the awesome video. I do have a question. I understand that the concept of building an agent with Langchain. In your example, the function returns the caption of an image. The caption is a man on a horse with a dog. If I were to query the color of the dog, it would not be able to re-process the image and focus solely on the dog, right? If so, what's the purpose of using Langchain agent and LLM? Wouldn't it be better to image-to-caption and store the caption to normal database? Or am I missing something here?
@ComputerVisionEngineer
@ComputerVisionEngineer 9 ай бұрын
Hey, this tutorial is an example regarding how to use LangChain in a computer vision project. I agree we could continue working on this project and add more features to it. 💪🙌
@AlessandroTogni
@AlessandroTogni 11 ай бұрын
It would be awesome to add a functionality that allows users to edit the uploaded image via prompt. "Cut the [detected object]", "Change the lightning from day to night", etc
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
Yeah, it would be awesome to add additional image processing functionalities! I will continue improving this project in future tutorials. 💪💪
@mrsmile9399
@mrsmile9399 8 ай бұрын
Love your videos Is there an alternative to chatgpt that you recommend from huggingface?
@ComputerVisionEngineer
@ComputerVisionEngineer 8 ай бұрын
Take a look at HuggingChat. 😃🙌
@rishabhinc2936
@rishabhinc2936 10 ай бұрын
I have a question ? What if we dont create object detection and image caption tool?? Will it still answer our query related to object detection and captioning ???
@ComputerVisionEngineer
@ComputerVisionEngineer 10 ай бұрын
Nop, without those tools it won't answer any query related to object detection and captioning.
@santhosh1387
@santhosh1387 11 ай бұрын
sir , you have put that lane crossing detection video in private can you please put it back sir , my work depends on it and that video has helped me a lot , thank you
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
I am preparing a more recent version of the lane crossing detector 😃. It will be available soon! 🙌💪
@VAIBHAVCHAUDHARY-fl1hn
@VAIBHAVCHAUDHARY-fl1hn 7 ай бұрын
Can we do this by using yolov8 and using our custom dataset and asking about that product ?
@ComputerVisionEngineer
@ComputerVisionEngineer 7 ай бұрын
Do you mean creating a custom tool to perform object detection with yolov8? Yes, it is possible. 🙌
@connectrRomania
@connectrRomania 11 ай бұрын
include installation of transformers in your requirements from the main hugging repo
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
Oh, I missed it! Thank you for the heads up! I will update the requirements file shortly. 🙌
@ishasingh1039
@ishasingh1039 3 ай бұрын
Hello , i followed this tutorial and made the app. But for whatever question i ask , its response is caption ( except for object detection) . Like when I asked it to generate story , it returned the caption of the image . I have done everything as same as shown here
@ComputerVisionEngineer
@ComputerVisionEngineer 3 ай бұрын
Thank you for your feedback, I will try to test it soon and I will update the code if needed.
@rohitpillai2307
@rohitpillai2307 2 ай бұрын
I have faced the same issue@@ComputerVisionEngineer
@tnztanim1623
@tnztanim1623 5 ай бұрын
Can we do this with free hugging Face model instead of Open Ai? Open Ai requires subscription.
@ComputerVisionEngineer
@ComputerVisionEngineer 5 ай бұрын
Yes, we could use a free alternative, instead of openai. 🙌
@tnztanim1623
@tnztanim1623 5 ай бұрын
​@@ComputerVisionEngineer will you plz implement something instead of openai? I really liked the project and tried my best but couldn't make the project run with a free model.
@allies4183
@allies4183 11 ай бұрын
Which model have you used?
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
I am using the model facebook/detr-resnet-50 for object detection and Salesforce/blip-image-captioning-large for image description. 💪
@rohitchan007
@rohitchan007 11 ай бұрын
I'm getting this error. PermissionError: [Errno 13] Permission denied: 'D:\\Courses\\Computer_vision_engineer\\Ask_image_question\\tmp3chlmrdj' I have granted read write permission to the folder. Need help
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
What is your OS?
@rohitchan007
@rohitchan007 11 ай бұрын
@@ComputerVisionEngineer Windows
@rohitchan007
@rohitchan007 11 ай бұрын
@@ComputerVisionEngineer I fixed it. it was due to NameTemporaryFile() issue. Replaced with with open("temp.jpg", "w+b") as f:
@ComputerVisionEngineer
@ComputerVisionEngineer 11 ай бұрын
cool, thanks for the update!
@rohitchan007
@rohitchan007 11 ай бұрын
@@ComputerVisionEngineer no problem. I really love the projects you're working on and sharing the knowledge
Create Custom Tools for Chatbots in LangChain - LangChain #8
24:58
James Briggs
Рет қаралды 37 М.
Which one will take more 😉
00:27
Polar
Рет қаралды 78 МЛН
蜘蛛侠这操作也太坏了吧#蜘蛛侠#超人#超凡蜘蛛
00:47
超凡蜘蛛
Рет қаралды 48 МЛН
одни дома // EVA mash @TweetvilleCartoon
01:00
EVA mash
Рет қаралды 6 МЛН
OpenAI SHOCKED Everyone! Voice, Vision, & Free?!
8:58
Theoretically Media
Рет қаралды 39 М.
Building RAG at 5 different levels
24:25
Jake Batsuuri
Рет қаралды 8 М.
Let's build GPT: from scratch, in code, spelled out.
1:56:20
Andrej Karpathy
Рет қаралды 4,2 МЛН
Build a Streamlit Chatbot FAST 🤯
8:04
Coding Is Fun
Рет қаралды 37 М.
INSANE OpenAI News: GPT-4o and your own AI partner
28:48
AI Search
Рет қаралды 165 М.
ChatGPT’s Amazing New Model Feels Human (and it's Free)
25:02
Matt Wolfe
Рет қаралды 154 М.
LangChain Agents: Simply Explained!
9:35
Rabbitmetrics
Рет қаралды 54 М.
CrewAI Tutorial: Complete Crash Course for Beginners
1:05:43
codewithbrandon
Рет қаралды 120 М.
Which one will take more 😉
00:27
Polar
Рет қаралды 78 МЛН