HeIvIndex
Content based image search (with hamming embedding)
Install / Use
/learn @yang2640/HeIvIndexREADME
Author: Yang Zhou
Contact: zhouyang2640@gmail.com
Build: Go to the hamming dir, type make, the executables will be placed to the HeIvIndex dir.
plug in the data, follow the pipeline:
(1) put all ukbench images under data/Images
(2) put all extracted feature files under data/Images, the format of the feature file follow CSV (space separated)
(3) sh sample.sh, construct the training data for kmeans
(4) python genProjectMatrix.py, construct the projection matrix for hamming embedding
(5) ./kmeans, build the codebook
(6) ./he_medians, construct the median mat for hamming embedding
(7) ./he_quantize, do a batch quantization for all images, feature paths are listed in data/featlist
(8) ./he_query > query.txt, do a batch query for all images, feature paths are listed in data/featlist
(9) python computeNSScore.py, to compute the NS score
Note:
(1) A lot of files are pre-loaded, I have not checked the read error, e.g., the file doesnot exist
(2) All the generated files are put in the data dir
Related Skills
qqbot-channel
344.4kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
99.9k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
344.4kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
project-overview
FlightPHP Skeleton Project Instructions This document provides guidelines and best practices for structuring and developing a project using the FlightPHP framework. Instructions for AI Coding A
