This repository contains tools and utilities for Insomnius, designed to simplify and enhance various workflows.
A package for generating perceptual hashes from images. It includes:
- Image preprocessing.
- Hash generation using Discrete Cosine Transform (DCT).
- Debugging tools for visualizing the hash.
Refer to the examples/perceptualhash
folder for:
main.go
: Demonstrates how to generate a perceptual hash for an image.datatrain.py
: A Python script for downloading and exporting datasets like COCO-2017.
-
Clone the repository:
git clone https://github.com/your-username/insomnius.tools.git
-
Install dependencies:
- For Go packages:
go mod tidy
- For Go packages:
-
Run the tools as needed.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
This repository is licensed under MIT license. See the LICENSE
file for details.