This repository was archived by the owner on Nov 22, 2026. It is now read-only.
Repository navigation
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
resizewithinterp=1on uint8 is now cv2's fixed-point linear resize, bit exact (the comparison bar goes from max difference 1 to 0).cv_circle_outlinethick lines: cv2'sLine2plots its first endpoint, so the missing tip pixels in five measured segments are gone.
Changes
Changed
- uint8 linear
resizefollows cv2's integer arithmetic (tests/casesimgproc.txt,resize_general.txtandtools/fastpath_check.pynow demand maxdiff 0).
Fixed
_line2plots cv2 Line2's first endpoint (fivecv_circle_outlinerows intools/fastpath_check.py, found by a 1500-line sweep againstcv2.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
11f3713build: bump version to 0.1.59a9de38feat: uint8 linear resize is cv2's fixed point, _line2 first endpoint (dev work)