Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

opticmix-vision

Latest version: v0.0.10

Overview

Last scanned
1 Dec 2026
Published
1 Dec 2026
PyPI package Publisher: opticmix-ghlee
0 Stars
0 Forks
8 Versions
969 Downloads
Python Repo language

Scan summary

opticmix-vision was last scanned on 1 Dec 2026 at version 0.0.10. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 8 versions; the latest 5 were published within 7 days (25 Nov – 1 Dec 2026).
  • Findings: No rules fired in version 0.0.10.
  • Downloads: 969 downloads.

Versions

8 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.0.10 LATEST 1 Dec 2026 No rules fired
0.0.9 26 Nov 2026 No rules fired
0.0.8 25 Nov 2026 No rules fired
0.0.7 25 Nov 2026 Not shown
0.0.6 25 Nov 2026 Not shown

No rules fired in 0.0.10

Findings

Findings for v0.0.10. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.0.10; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

opticmix-vision

Python SDK for the Weevia S1 stereo infrared camera — a close-range stereo IR camera with its own 850 nm (vendor spec) flood illuminator, presented to the host as a standard UVC device.

No vendor driver, no GPU runtime. Two Python dependencies: numpy and opencv-python. Camera controls and device listing run in a compiled extension that ships inside the wheel, so there is nothing to build.

Install it from PyPI:

pip install opticmix-vision

On Windows x64 this installs a wheel — one abi3 wheel for Python 3.10 and newer; installed and tested on 3.10, 3.12 and 3.14 (no camera). The same file is attached to the GitHub release v0.0.10. On Windows, verified on Windows 11 only. On Linux x86_64 it installs a manylinux wheel — capture and reading the numeric controls' ranges and defaults supported on one verified setup, control writes not supported; see Linux below. There is no wheel for macOS, and macOS has not been run. Elsewhere pip tries to build from source: Rust 1.88 or newer (on Windows also the Microsoft C++ Build Tools). A source install has been checked on Linux x86_64 only (Debian 12 container, Python 3.11, Rust 1.88.0, no camera).

Linux

Supported on Linux x86_64, on one setup only (below): capture, and reading the ranges and defaults of the 10 numeric camera controls. Not supported: writing camera controls and the illuminator. "Supported" means verified, on one setup only: one Weevia S1 unit, Ubuntu 26.04.1 (kernel 7.0.0-44), x86_64, USB connected directly, the published 0.0.9 wheel and crate, two USB re-insert cycles (2026-11-28; what was run is below). Not verified: a second unit, other distributions or kernels, a USB hub, ARM (e.g. Jetson). Finding the camera by name (DeviceConfig.weevia_s1() without device=) ran in the same two cycles with one camera connected; refusing two cameras of the same name has not been run.

From 0.0.4, PyPI also has a Linux x86_64 wheel (manylinux2014_x86_64: glibc 2.17 or newer, Python 3.10 or newer), so pip install opticmix-vision installs on Linux x86_64 without compiling anything. The 0.0.6 manylinux wheel has been run with the camera once (one PC, one camera, 2026-11-25): open, frames, recording and playback, read-only.

On a minimal system (a server, a slim container image) OpenCV needs libGL.so.1 from the system: on Debian/Ubuntu, sudo apt install libgl1 libglib2.0-0. Without it import opticmix_vision still works, but everything that uses OpenCV, opening the camera included, fails with libGL.so.1: cannot open shared object file. In our container tests, installing libgl1 and libglib2.0-0 removed those failures.

What has been run: on 2026-11-22, on an Ubuntu 26.04 (kernel 7.0) mini PC with one Weevia S1 (firmware version not recorded) connected directly over USB SuperSpeed, a candidate build of 0.0.3 from the same source negotiated 1600×800 MJPG at 90 fps. Over 20 seconds both eyes changed on every frame: about 85.6 unique frames per second by our measurement script, 88.95 per second by the kernel's buffer count, with no kernel USB errors. The measurement opened the camera with DeviceConfig(layout="sbs", lr_order="first_is_right", backend="v4l2", device=0, width=1600, height=800, fps=90, fourcc="MJPG", stall_frames=0) (device is the N of /dev/videoN; stall_frames=0 because the script counted repeated images itself).

From 0.0.4, DeviceConfig.weevia_s1() also finds the camera by name on Linux: it picks the /dev/videoN capture node whose name contains WN Dual Camera in /sys/class/video4linux (the node whose index is 0) and uses backend="v4l2". As on Windows, it stops when two match. Linux name lookup: run with the camera once (one PC, one camera, 2026-11-25), and in the two USB re-insert cycles of 2026-11-28 below, with one camera connected; refusing two cameras of the same name has not been run with two cameras. To name the node yourself — DeviceConfig.weevia_s1(device="/dev/video0", backend="v4l2"), with the Weevia's own /dev/videoN (on a laptop /dev/video0 may be the built-in webcam).

From 0.0.7, devices.list_devices() lists the cameras on Linux too (backend="v4l2", the default there): one entry per video capture node, with the N of /dev/videoN as its index, the USB device's sysfs name as its USB location (e.g. 2-1) and the USB IDs and link speed read from sysfs, as the doctor reads them; python examples/list_devices.py --verbose prints them. It opens no device. Run without a camera only (made-up sysfs trees); not run with the camera on Linux.

From 0.0.8, the explorer (python -m opticmix_vision.explorer) lists the cameras on Linux too, from that list, and opens the one chosen with backend="v4l2" at its /dev/videoN; --usb-location takes the sysfs name. It opens 1600×800 MJPG (the mode list is not read on Linux). Its Settings window shows the controls, their ranges and defaults, and writes nothing: every control, Reset to defaults and Load preset are disabled. Run without a camera only (made-up sysfs trees, fake widgets); not run with the camera on Linux, and not run with a display on Linux.

Reading control ranges and defaults from the V4L2 driver (Controls.describe(), Controls.driver_names, from 0.0.7; the defaults are shown, not written) has been run with the camera on Linux in two USB re-insert cycles (one Weevia S1 unit, Ubuntu 26.04, one PC, USB connected directly, the published 0.0.9 wheel and crate, 2026-11-28): for the 10 numeric controls (brightness, contrast, hue, saturation, sharpness, gamma, white_balance, backlight_compensation, gain, exposure) the Python package and the Rust crate printed, before and while streaming, the minimum, maximum, step and default the camera sent, and wrote no control. auto_white_balance and auto_exposure are printed with their current value only, as the auto switch of white_balance and exposure; no default is printed for them, although the camera sends one. Capture on Linux in the same cycles: 1600x800 MJPG at 90 fps negotiated; by the host clock 89.6 and 87.4 frames per second over 300 frames (Python, the camera opened with DeviceConfig.weevia_s1(), found by name) and 91.0 over 450 frames (Rust), no repeated frame.

Not verified on Linux:

  • writing camera controls, and the illuminator — not verified and not supported;
  • listing the cameras with their USB IDs and link speed (devices.list_devices(), from 0.0.7) — not run with the camera on Linux;
  • the viewer, the explorer and the other examples — of the examples, measure_fps.py, record_video.py, play_recording.py, save_stereo_pairs.py and open_by_usb_location.py have been run once with one camera (2026-11-25) (list_controls.py: see the paragraph above), and export_recording.py with a camera recording once, from source before release;
  • a second unit, other distributions or kernels, a USB hub, ARM (e.g. Jetson), and more than one camera.

Quickstart

from opticmix_vision import Device, DeviceConfig

with Device(DeviceConfig.weevia_s1()) as cam:
    print(cam.mode.to_dict())   # what the driver actually negotiated
    frame = cam.read()          # raises on failure, never returns an empty frame
    left, right = frame.left, frame.right   # each (800, 800) uint8

DeviceConfig.weevia_s1() finds the camera by name and applies the settings measured on it: both eyes side by side, the first half is the right eye (measured on one unit, 2026-09-16), 1600×800 MJPG at 90 fps. It does not pick a camera by index — plugging in any other camera shifts the order, and a laptop webcam is often listed first. Override any field, e.g. DeviceConfig.weevia_s1(fps=60). Finding the camera by name (in the Rust core since 0.0.3): verified with the published 0.0.7 wheel on one Weevia S1 unit, Windows 11, one PC, two-level USB hub, two USB re-insertions, read-only, with one camera of that name connected; refusing two cameras of the same name has not been run with two cameras. On Linux it reads /sys/class/video4linux instead (run with the camera once, one PC, one camera, 2026-11-25, and in two USB re-insert cycles, one unit, Ubuntu 26.04.1, USB connected directly, the published 0.0.9 wheel, 2026-11-28).

Each frame carries host_ns, the host clock when it was read. For the capture driver's own time stamp (frame.driver_ns), open with DeviceConfig.weevia_s1(backend="msmf") on Windows — the camera is found by name in the Media Foundation list, and its controls are then the OpenCV fallback (no ranges or defaults) — or use V4L2 on Linux; DirectShow, the Windows default, gives none. python examples/measure_fps.py --backend msmf prints both. On one PC (Windows 11) with one camera (2026-11-24, once) the first Media Foundation time was about 364,400 s — not the start of streaming; on this PC it was within a few seconds of Python's time.perf_counter_ns() (compared across two runs by file times, not within one process), but what the clock's zero is has not been established. Use differences between frames, not the absolute value. Through MSMF, OpenCV asks Media Foundation for RGB, and the time is that converted sample's; run with the camera once (one PC, one camera, 2026-11-24): through MSMF 276 of 900 frames per eye repeated the previous image while the driver-time intervals were 11.11 ms (mean, min and max) — driver_ns does not show whether a new image arrived; cause not established. DirectShow: 0 of 900 and 0 of 450; Rust (Media Foundation, no conversion): 0 of 450, driver-time intervals 0.01 to 16.90 ms (mean 11.23). See StereoFrame in API.md. V4L2 (Linux): examples/measure_fps.py has been run with the camera once (one PC, one camera, 2026-11-25, the 0.0.6 wheel).

examples/quickstart.py runs this end to end; python -m opticmix_vision.viewer and python -m opticmix_vision.explorer open the same camera in a window. Step-by-step: the tutorials (the tutorials/ folder next to this README).

In the viewer, s saves a left/right PNG pair and v starts and stops a recording (the files examples/record_video.py writes, in --out, default captures); h lists the other keys. A key held down saves, records or toggles once: the same key again within 0.6 s is ignored (the window says so once per press), so press it again after a pause. A keyboard repeat delay set longer than 0.6 s in the OS lets one repeat through. Each save and recording gets a .json next to it with the negotiated mode, the camera's layout and left/right order, device name, installed calibration files, every control value and the SDK version (opticmix_vision.recording.capture_info); a recording's .json also lists the LED, exposure and gain changes made while recording and the values at the end. A compressed (MJPG, the default) recording does not have the camera's pixel values. With --lossless the viewer records FFV1 .mkv: the lossless file keeps the pixel values the SDK delivered (generated frames only; not run with the camera). With the opencv-python 4.12 and 4.13 wheels FFV1 writing failed now and then (one Windows PC, generated frames; not with 4.14 or 5.1): see opticmix_vision.recording in API.md. Lossless takes longer per frame to write than MJPG, so it may not keep up with 90 fps; the REC line and the .json count the frames missed while recording. The viewer's v runs alongside the preview and may not keep up with 90 fps even with MJPG: to record every frame, use examples/record_video.py first (it records with no window), then a lower --fps or examples/capture_dataset_npz.py. A thread encodes while the window draws; a frame that finds its queue full is not recorded, and the REC line, the .json (dropped_frames) and the message when recording stops count it. dropped_frames is an exact count; estimated_missed_frames is estimated from the recorded frame times and can be lower than dropped_frames (with the camera, one Weevia S1 unit, Windows 11, one PC, two-level USB hub, 2026-11-26, Rust record_video: dropped 8 and 25, estimated missed 6 and 21). Read them separately. A queue does not make lossless keep up with 90 fps: the frames it cannot take are dropped and counted. Stopping writes the frames still queued first. The .json says where its control values come from and when the viewer read them (controls_source, controls_read_at). Run on generated frames only; not run with the camera. Recording with v has been run with the camera once (one PC, one camera, 2026-11-24): one recording started and stopped with v (392 frames, about 130 missed while recording; 0.0.5, before the writing thread), no stall error; its .json carries controls_note. Lossless recording and the s key's .json: generated frames only; not run with the camera. The Rust crate records and plays the same MJPG .avi files; lossless recording is Python only. Rust recording and playback on Windows: verified with the camera in two USB re-insert cycles (one Weevia S1 unit, Windows 11, one PC, two-level USB hub, from the 0.0.10 source before release, 2026-11-26 and 2026-11-29): record_video --seconds 5 wrote 433 and 413 frames with their .csv and .json; late 8 and 13, estimated missed 13 and 22, dropped by the write queue 14 and 31 (files written to an external USB disk; cause not established); Rust play_recording and Python play_recording.py read 433 and 413 frames back with the same late and missed counts. Not verified: pausing, left and right by covering a lens, a direct USB connection, a second unit. An earlier run (2026-11-25, 10 s, 881 frames, estimated missed 5, dropped 0) was made with the capture code before 0.0.10.

The viewer's top line shows the frame index, frames per second over the last 30 frames, and how many frames came late or are estimated missing: Device.actual_fps, Device.late_frames (an interval over 1.5 frame periods) and Device.estimated_missed_frames. They are estimated from host times (host_ns), not read from a device frame counter, so a late frame can be delivery jitter rather than a lost frame. With the camera, the Device and Recorder statistics in Python and Rust equalled a recount of the same run in separate USB re-insert cycles (one Weevia S1 unit, Windows 11, one PC, two-level USB hub, Python with the published 0.0.8 wheel, Rust from source, 2026-11-26). Not verified: Linux, a second unit, a direct USB connection. The LED … exp … gain … line shows the values the viewer knows, and ends with (as opened + viewer's writes): every control is read from the camera once when the viewer opens, then changed only by the viewer's own keys and presets (the value read back after each write). The .json of s and v has the same values. A control whose write was refused is read once again, and n, p and P read every control; a change made by another program shows when the viewer is opened again.

The next line shows each eye's share of saturated pixels (value 255, or --saturation-level N and above), for setting the LED and exposure. n saves every control as a new preset (--preset-name, default viewer_<time>; an existing one is not replaced), p steps through the presets saved from this camera's model, then defaults (the camera's own defaults, as the explorer's Reset to defaults and presets load defaults), and shows what loading one would change without writing, and P writes it in one set_many() (reset_to_defaults() for the defaults); --preset NAME loads one before the first frame. c shows the installed calibration file — serial, file, each eye's size, fx fy cx cy and distortion, and the baseline, t and rotation between the eyes — read from the file, not the camera (c again hides it). A preset that does not fit the camera is refused with the reason and nothing written; each write's result (written, refused, or a value the camera did not keep) is shown and logged, and a load made while recording goes into the recording's .json. Presets, the defaults and c: Run on generated frames only; not run with the camera.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases opticmix-vision

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229