qr_parse_corners_: (Internal) Crop and resize large images to QR corner...

View source: R/qr_js.R

qr_parse_corners_R Documentation

(Internal) Crop and resize large images to QR corner neighborhoods

Description

This is an internal function used by qr_scan_js_from_corners.

Usage

qr_parse_corners_(mgk, code_pts)

Arguments

mgk

A magick image object.

code_pts

A dataframe of columns x and y, with each row identifying a QR pattern corner, usually generated by qr_scan_cpp_magick.

Value

A list with the altered image, the x/y anchor pixels, and a resizing flag


brianwdavis/quadrangle documentation built on Feb. 27, 2023, 6:36 p.m.