Skip to main content

retico-vision

A ReTiCo module with base modules and incremental units for computer vision.

Installation and requirements

Install the retico-vision package: pip install retico-vision

Alternatively, install directly from the GitHub repository: pip install git+https://github.com/retico-team/retico-vision.git

Example

import sys, os

os.environ['PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION'] = 'python'

prefix = '/path/to/prefix'
sys.path.append(prefix+'retico-sam')
sys.path.append(prefix+'retico-dino')

from retico_core import *
from retico_core.debug import DebugModule
from retico_vision.vision import WebcamModule 
from retico_dino.dino import Dinov2ObjectFeatures
from retico_vision.vision import ExtractObjectsModule
from retico_sam.sam import SAMModule

path_var = 'sam_vit_h_4b8939.pth'

webcam = WebcamModule()
sam = SAMModule(model='h', path_to_chkpnt=path_var, use_bbox=True)  
extractor = ExtractObjectsModule(num_obj_to_display=1)  
feats = Dinov2ObjectFeatures(show=False, top_objects=1)
debug = DebugModule()  

webcam.subscribe(sam)  
sam.subscribe(extractor)  
extractor.subscribe(feats)    
feats.subscribe(debug)

webcam.run()  
sam.run()  
extractor.run()  
feats.run()
debug.run()  

print("Network is running")
input()

webcam.stop()  
sam.stop()  
extractor.stop()   
debug.stop()  

Citation

Metadata

Release files for retico-vision 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for retico-vision 1.0.0
File Size Uploaded
retico_vision-1.0.0.tar.gz 22.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for retico-vision 1.0.0
File Interpreter ABI Platform
retico_vision-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 41.3 kB

Release files / retico_vision-1.0.0.tar.gz

Download URL retico_vision-1.0.0.tar.gz
Size 22.3 kB
Tags Source
SHA-256 checksum
How to use checksums
417bcc881392ca79fa75b1f6543d9810011431a17be5ab40c5db4bd0a33681aa
BLAKE2b-256 checksum
How to use checksums
2608047f64c4f8c332240a60d624234c42ddce235f00fc205c1e042808f4ec86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 19, 2026.

Transparency log

Release files / retico_vision-1.0.0-py3-none-any.whl

Download URL retico_vision-1.0.0-py3-none-any.whl
Size 19.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
203e6b53713875e0ec3245caea64536ea0e4cab053a0a940c24e307183be4829
BLAKE2b-256 checksum
How to use checksums
3e235314db77d57bb44df27bdb6c5312e1300a0a94f0d07ff485f3067d668bd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 19, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page