mirror of
https://github.com/Mintplex-Labs/nut.js.git
synced 2026-08-26 17:07:01 -04:00
f64204e10b
* Added channel info to Image type * Renamed adapter and provider class * Created template matching finder with multi scale support * Added MatchRequest as a counterpart to MatchResult * Updated screen * Formatting * Renamed probability to confidence * Naming conventions * Added latest changes * Updated scale correction * Added min value for rescaling to prevent images < 1 px
8 lines
140 B
TypeScript
8 lines
140 B
TypeScript
export class Point {
|
|
constructor(public x: number, public y: number) {}
|
|
|
|
public toString() {
|
|
return `(${this.x}, ${this.y})`;
|
|
}
|
|
}
|