Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Similar image search in Rust
Search
po3rin
December 11, 2019
Programming
0
220
Similar image search in Rust
po3rin
December 11, 2019
Tweet
Share
More Decks by po3rin
See All by po3rin
M3におけるCI/CDパイプラインを新鮮に保つ仕組み
po3rin
0
280
Go Templateを使った フロントエンド開発を採用した 経緯と所感
po3rin
0
290
検索基盤移行時の思考
po3rin
0
4.2k
Go1.19で採用された Pattern-defeating Quicksort の紹介
po3rin
7
5.6k
Elasticsearchを負荷から守るesguard
po3rin
0
240
Sudachi×Elasticsearchへの移行と医療検索システム精度改善
po3rin
1
840
eskeeperを使ったファイル定義によるindex管理
po3rin
2
450
M3 情報検索/推薦論文輪読会 ~SIGIR祭~ (SIGIR2021: Session 6D – IR Models)
po3rin
0
82
Handling Temporal Query for Health Search with ja-timex
po3rin
3
310
Other Decks in Programming
See All in Programming
テストコード文化を0から作り、変化し続けた組織
kazatohiei
2
1.5k
From Translations to Multi Dimension Entities
alexanderschranz
2
130
CSC305 Lecture 25
javiergs
PRO
0
130
42 best practices for Symfony, a decade later
tucksaun
1
180
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
120
「Chatwork」Android版アプリを 支える単体テストの現在
okuzawats
0
180
MCP with Cloudflare Workers
yusukebe
2
220
103 Early Hints
sugi_0000
1
230
テスト自動化失敗から再挑戦しチームにオーナーシップを委譲した話/STAC2024 macho
ma_cho29
1
1.3k
testcontainers のススメ
sgash708
1
120
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
250
CSC305 Lecture 26
javiergs
PRO
0
140
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.3k
The Language of Interfaces
destraynor
154
24k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Optimizing for Happiness
mojombo
376
70k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
What's in a price? How to price your products and services
michaelherold
243
12k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Done Done
chrislema
181
16k
How to Ace a Technical Interview
jacobian
276
23k
A Philosophy of Restraint
colly
203
16k
Side Projects
sachag
452
42k
Transcript
Similar image search in Rust Rust LT #7 Dec 11,
2019 @ po3rin
@po3rin Software Enginner @ Shiroyagi Corporation QBHF Golang / Python
QBHF നϠΪίʔϙϨʔγϣϯɺػցֶशɾࣗવ ݴޠॲཧͷϓϩμΫτʹྗΛೖΕ͍ͯΔձ ࣾͰ͢ɻ։ൃʹओʹ (P 1ZUIPO ͕࠾༻ ͞Ε͍ͯ·͢ɻ നϠΪίʔϙϨʔγϣϯ
QBHF ࠨԼͷ(PQIFS܅ͷը૾ҧ͏ը૾Ͱ͢ ͕ɺ͜ͷ$SBUFΛ͏ͱྨࣅը૾Ͱ͋Δ ͜ͱΛݕͰ͖·͢ɻ ࣗͷ݁ࠗࣜͷը ૾αʔόʔͰ࿈ࣸࣸਅͷഉআͷҝʹ࡞Γ ·ͨ͠ ɻ 3VTUॳ৺ऀͳͷͰʮͬͱ͜͏ॻ͍ͨΒ ͍͍Αʂʂʯͱ͍͏ΞυόΠεͲΜͲ
Μࢦఠ͓ئ͍͠·͢ʂ
QBHF
QBHF "WFSBHF)BTIΞϧΰϦζϜը૾ͷྨࣅݕग़ΞϧΰϦζϜɻલॲཧ͕ ؆୯ͰͦΕͳΓͷਫ਼Ͱྨࣅͨ͠ը૾Λ୳͢͜ͱ͕Ͱ͖Δɻ άϨʔεέʔϧԽ ը૾Λॖখ º ֤ըૉΛࠪͯ͠ฏۉΑΓ্ͳΒɺԼͳΒͱ͍͏༷ʹϋογϡԽ ޙ)BTIͷΛϕΫτϧͱݟͳ͠ɺͭͷϕΫτϧͷϋϛϯάڑΛऔ ཧɺϋϛϯάڑ͕ᮢҎԼͳΒྨࣅը૾ͱఆͰ͖Δʂʂ
Average Hash Ὂ
QBHF Resize & Gray Scale Ὂ 3VTUʹΑΔ؆୯ͳը૾ॲཧ JNBHFDSBUF͕ศརͳؔΛ ఏڙ͍ͯ͠ΔɻӈͷQSPDFTT ؔ͞Εͨը૾ΛSFTJ[F
HSBZTDBMFԽ͍ͯ͠Δɻ
QBHF DynamicImage Ὂ ॲཧͷதͰ JNBHF%ZOBNJD*NBHFͰ ը૾ΛҾ͖ճ͍ͯ͠·͢ɻ ༷ʑͳը૾ܗࣜΛFOVNͱ ͯ͠ྻڍ͢Δܕʹͳ͍ͬͯ· ͢ɻ
QBHF GenericImageView Ὂ JNBHF%ZOBNJD*NBHF (FOFSJD*NBHF7JFXτϨΠ τΛ࣮͍ͯ͠ΔͷͰը૾ͷ جຊతͳใશ෦औΕΔɻ
QBHF Get Hash Ὂ ըૉͷฏۉΛऔಘ͔ͯ͠ Βɺ֤ըૉΛࠪͯ͠ฏۉ ΑΓ্ͳΒɺԼͳΒͱ͍ ͏༷ʹϋογϡԽ
QBHF Hamming Distance Ὂ ϋογϡ͔Βϋϛϯάڑͷ ܭࢉɻ
QBHF Use channel Ὂ ̎ͭͷը૾ൺֱʹ͓͍ ͯϋογϡΛऔಘ͢ ΔՕॴͰฒߦॲཧ͕Մ ೳ
QBHF Conclusion \
QBHF 3VTUॳ৺ऀͰը૾ॲཧͰ͖ͨɻͬͱ3VTUΒ͍࣮͠Λࢦ͍ͯ͘͠ɻ Conclusion Ὂ
Similar image search in Rust Rust LT #7 Dec 11,
2019 @ po3rin