This is a work in progress and sudden, dramatic changes are expected!
FreeLens
This project provides a reference implementation of NaviLens and ddTag for educational or personal use. Commercial use is at your own risk as NaviLens and ddTag may attempt to enforce their IP.
Documentation
Quickstart
Installation
pip install freelens
Generating Tags
Freelens generates deployed-CRC tags only at the independently verified 5×5 size.
from freelens import Tag
message = "101010101011000000001011"
tag = Tag.from_message(message, n=5)
tag_img = tag.to_image()
tag_img.save("tag.png")
Detecting Tags
from freelens import detect_tags
from PIL import Image
img = Image.open("dataset/positives/0001.jpg")
tags_list = detect_tags(
img,
n=5,
validate_crc=True,
require_valid_crc=True,
)
for tag in tags_list:
print(tag.message)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file freelens-0.0.3.tar.gz.
File metadata
- Download URL: freelens-0.0.3.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a21275b63c3a4b661524080302ccd45d475ee6e980237a3fa68f967b7c65a8b
|
|
| MD5 |
4b02ce73e3bfbd665cc20e7b646b7fa8
|
|
| BLAKE2b-256 |
153396bee3b2292167a3dbe417757cd15c037ee950ed8eac6a5bbacadcc6d259
|
Provenance
The following attestation bundles were made for freelens-0.0.3.tar.gz:
Publisher:
release.yml on sjtrny/freelens
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
freelens-0.0.3.tar.gz -
Subject digest:
1a21275b63c3a4b661524080302ccd45d475ee6e980237a3fa68f967b7c65a8b - Sigstore transparency entry: 2465037252
- Sigstore integration time:
-
Permalink:
sjtrny/freelens@aae7ad75001a0087a4b69dbf697f944e582ca78e -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/sjtrny
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@aae7ad75001a0087a4b69dbf697f944e582ca78e -
Trigger Event:
release
-
Statement type:
File details
Details for the file freelens-0.0.3-py3-none-any.whl.
File metadata
- Download URL: freelens-0.0.3-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
689ee5320a8298cb03fd309228ce1160dce7b136fa79a01277b6c2ab192ab329
|
|
| MD5 |
707c865ff4e8067103d67f965e1ec6dd
|
|
| BLAKE2b-256 |
f77fc8059dd53f6b570b320d38f520cfbdfb01ecc8648959b77941da2fc077ec
|
Provenance
The following attestation bundles were made for freelens-0.0.3-py3-none-any.whl:
Publisher:
release.yml on sjtrny/freelens
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
freelens-0.0.3-py3-none-any.whl -
Subject digest:
689ee5320a8298cb03fd309228ce1160dce7b136fa79a01277b6c2ab192ab329 - Sigstore transparency entry: 2465037351
- Sigstore integration time:
-
Permalink:
sjtrny/freelens@aae7ad75001a0087a4b69dbf697f944e582ca78e -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/sjtrny
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@aae7ad75001a0087a4b69dbf697f944e582ca78e -
Trigger Event:
release
-
Statement type: