Skip to content
This repository was archived by the owner on Nov 22, 2026. It is now read-only.

mojo-cv v0.1.5

Latest

Choose a tag to compare

@amarbarosys amarbarosys released this 08 Nov 23:00
· 11 commits to main since this release

mojo-cv-public v0.1.5

Released: 2026-11-08 · Commit: 11f3713 · Previous: v0.1.4

What it does

OpenCV-style computer vision in Mojo on the CPU, with 3D, CAD and calibration helpers. Each op is checked against cv2 5.0 (2D) or a numpy, brute-force or closed-form oracle (3D) on the same input. A library (from mojocv.imgproc import ...) and a command-line tool (mojo-cv OP OUT IN... [k=v] on .mcv files).

Highlights

  • resize with interp=1 on uint8 is now cv2's fixed-point linear resize, bit exact (the comparison bar goes from max difference 1 to 0).
  • cv_circle_outline thick lines: cv2's Line2 plots its first endpoint, so the missing tip pixels in five measured segments are gone.

Changes

Changed

  • uint8 linear resize follows cv2's integer arithmetic (tests/cases imgproc.txt, resize_general.txt and tools/fastpath_check.py now demand maxdiff 0).

Fixed

  • _line2 plots cv2 Line2's first endpoint (five cv_circle_outline rows in tools/fastpath_check.py, found by a 1500-line sweep against cv2.line, 9 hits).

Verified

Check Result
scripts/ci.sh on this tree (Mojo 1.2.0, cv2 5.0 oracle; 2D cases, fastpath, 3D, malformed, ransac, stereo) PASS ci, 420 PASS rows, 0 FAIL
pkg-conda dry run on the version commit (H1-H3,H6) PASS: mojo-cv-0.1.5-hb0f4dca_0.conda

Known limits

  • As in v0.1.4. This release carries dev-repo work that was never published.

Upgrade / run

None: no API change; uint8 linear resize output may differ from 0.1.4 by one grey level where it now matches cv2 exactly.

Commits

  • 11f3713 build: bump version to 0.1.5
  • 9a9de38 feat: uint8 linear resize is cv2's fixed point, _line2 first endpoint (dev work)