Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Crop using CLIP

License

NotificationsYou must be signed in to change notification settings

vijishmadhavan/Crop-CLIP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

You can sponsor me to support my open source work 💖sponsor

Search subjects/objects in an image using simple text description and get cropped results.

Image:

Video:

Highlights

Video Results:(Baby Driver Bank Robbery scene)

- Search the scene and zoom-in to the subject.

Search Query on YouTube Video.

"Man in suit"

baby

"Cute boy"

baby

"Search Query - Crop!"

"Whats the time"

Time

"Hoodie guy"

Hoodie

"Mini Cooper"

minicooper

"Whiskey Bottle"

Whiskey

How?

  • This is done by combining Object detectionyolov5 and OpenAI'sCLIP model.
  • Detects and crops objects (yolov5s)
  • Encode cropped images using CLIP
  • Encode search query using CLIP
  • Find the best match

Why?

  • #vacation☺️

Can also be used to create datasets with some changes in code. In the below example images of Jack daniels bottle has been croped and saved.

Search Query on batch - "Jack Daniels"

dataset

Simple App

app

Limitations

  • Depends heavily on object detection(yolov5).
  • YOLOv5 🚀 is a family of object detection architectures and models pretrained on the COCO dataset, So detection depends on COCO classes.

Acknowledgements

About

Crop using CLIP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp