Skip to content

Image search example by approximate nearest-neighbor library In Rust

License

Notifications You must be signed in to change notification settings

vaaaaanquish/rust-ann-search-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-ann-search-example

Image search example by approximate nearest-neighbor library In Rust

use

 - tensorflow 0.17.0
 - pretrain ResNet50
 - hora (Rust ANN library) 0.1.1

image -> resize -> resnet embedding -> ANN indexing -> search

Usage

Plese put image files in ./img directory. If If you don't have a handy file, there is a script to create a dataset in docker image.

docker build -t ann .
docker run -it ann

# if make dataset by food101
[docker]$ ./make_food101_dataset.sh

# running
[docker]$ cargo run

About

Image search example by approximate nearest-neighbor library In Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published