https://github.com/canxkoz/hog-classifier
Image Search via Feature Vectors.
https://github.com/canxkoz/hog-classifier
cross-search histogram-of-oriented-gradients image-processing image-search
Last synced: 8 months ago
JSON representation
Image Search via Feature Vectors.
- Host: GitHub
- URL: https://github.com/canxkoz/hog-classifier
- Owner: canxkoz
- License: mit
- Created: 2019-01-23T10:18:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-13T01:40:18.000Z (almost 7 years ago)
- Last Synced: 2025-05-13T05:41:33.442Z (about 1 year ago)
- Topics: cross-search, histogram-of-oriented-gradients, image-processing, image-search
- Language: Python
- Homepage: https://www.learnopencv.com/histogram-of-oriented-gradients/
- Size: 55.8 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# CROS-SEARCH WITH HOG
## HISTOGRAM OF ORIENTED GRAPHS
Extracts the features of all the pictures in the file named "images" via HOG Feature Descriptor using OpenCV. Saves all of those files in a .npy file. This .npy file is used as a database for keeping the feature descriptors of the pictures in the "images" file. The data that is kept in the .npy file is later compared to to the features of the desired image (the image that the user wants to search).
## Comparison
### Cros-Search
The images are queried to consequtive images. The features of each image is queried to one another. This creates a two dimentinal query making this comparison method as robust and fast as posssible. The names of the images are reordered after the comparison of their feature vectors. The most similar picture in the "images" file is returned. A .csv file is created to indicate the order of similarity of all of the pictures to the image that the user wants to search.