Skip to content

snmahsa/PicSimSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PicSimSearch

PicSimSearch is a Python package for image search based on keypoint-based feature extraction and matching. It allows you to search for similar images in a dataset using a query image.

Installation

Using pip

PicSimSearch can be installed using pip:

pip install PicSimSearch

Using Poetry

PicSimSearch can be installed using poetry:

  1. Install Poetry:

    pip install poetry
  2. Navigate to the project directory:

    cd path/to/your/project
  3. Install the dependencies:

    poetry install
  4. Install

    poetry add PicSimSearch
        ```

Usage

from PicSimSearch import Io
from PicSimSearch import *
from PicSimSearch import engine
from PicSimSearch import dataset
Io.upload.upload_image_of_local()

Sample Image Sample Image

image = Io.read.read_image_from_folder()

Sample Image

Sample Image

Io.show.imshow(image)
dataset_path = dataset.set_dataset_path()
num_keypoints = 3000

Sample Image

engine.search(image, num_keypoints, dataset_path)

initialize engine ...

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

extract_features

...

[INFO] Serializing Features...

[INFO] Loading Features...

Searching ...

Folder : O

Sample Image

Contributing

Contributions to PicSimSearch are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository: https://github.com/snmahsa/PicSimSearch. License

License

This project is licensed under the MIT License. See the LICENSE file for more information.