# glob *author: junjie.jiang*
## Desription Wrapper of python glob.glob The parameters are consistent with it.
## Code Example ### Example ```python from towhee import DataLoader, pipe, ops p = ( pipe.input('image_path') .map('image_path', 'image', ops.image_decode.cv2()) .map('image', 'vec', ops.image_embedding.timm(model_name='resnet50')) .output('vec') ) for data in DataLoader(ops.data_source.glob('./*.jpg')): print(p(data).to_list(kv_format=True)) # batch for data in DataLoader(ops.data_source.glob('./*.jpg'), batch_size=10): p.batch(data) ``` # More Resources - [Open Source Vector Database & More | Zilliz](https://zilliz.com/product/open-source-vector-database): Access our Open Source Vector Database & other AI infrastructure solutions from the original Milvus creators & other popular OS technologies. - [Persistent Vector Storage for LlamaIndex - Zilliz blog](https://zilliz.com/learn/persistent-vector-storage-for-llamaIndex): Discover the benefits of Persistent Vector Storage and optimize your data storage strategy. - [Milvus | Open-source Vector Databse created by Zilliz](https://zilliz.com/what-is-milvus): Milvus, built by the Zilliz team, is a high-performance open-source vector database designed to handle billions of vectors for AI applications. - [Resources | Zilliz](https://zilliz.com/resources): Zilliz is a cloud-native vector database that solves the challenges of storing vectors at scale. Visit our website to see our latest whitepapers. - [About Zilliz | Zilliz](https://zilliz.com/authors/Zilliz): Vector database - [Feder Case | Zilliz](https://zilliz.com/feder-case): Feder case demo - Zilliz