Package Exports
- linkimage
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (linkimage) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
linkimage
Find corresponding points between images. Using OpenCV and TensorFlow.js.

Install
npm install linkimageor
yarn add linkimageUsage
const fs = require('fs')
const { link } = require('linkimage')
const srcBuffer = fs.readFileSync('images/src.jpg')
const dstBuffer = fs.readFileSync('images/dst.jpg')
// Find point on the destination image which corresponds to the specific point on the source image.
// The source point is the center of the source image.
const point = link(srcBuffer, dstBuffer)
// You can also specify a source point:
// const point = link(srcBuffer, dstBuffer, [100, 100])
// Returns the cordinates of the corresponding point in format [x, y].
// If no point found, return [-1, -1].
console.log(point)