Skip to content

Commit 2712255

Browse files
authored
Merge pull request #44 from nut-tree/feature/prebuilt
(Closes #23) Pre-built OpenCV bindings
2 parents c549641 + 2d31df6 commit 2712255

File tree

6 files changed

+49
-11
lines changed

6 files changed

+49
-11
lines changed

lib/provider/opencv/image-processor.class.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as cv from "opencv4nodejs";
1+
import * as cv from "opencv4nodejs-prebuilt";
22
import { Image } from "../../image.class";
33
import { Region } from "../../region.class";
44

lib/provider/opencv/image-reader.class.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as cv from "opencv4nodejs";
1+
import * as cv from "opencv4nodejs-prebuilt";
22
import { Image } from "../../image.class";
33
import { DataSource } from "./data-source.interface";
44

lib/provider/opencv/image-writer.class.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as cv from "opencv4nodejs";
1+
import * as cv from "opencv4nodejs-prebuilt";
22
import { Image } from "../../image.class";
33
import { DataSink } from "./data-sink.interface";
44
import { ImageProcessor } from "./image-processor.class";

lib/provider/opencv/template-matching-finder.class.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as cv from "opencv4nodejs";
1+
import * as cv from "opencv4nodejs-prebuilt";
22
import * as path from "path";
33
import { Image } from "../../image.class";
44
import { MatchRequest } from "../../match-request.class";

package-lock.json

Lines changed: 43 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"win32"
2424
],
2525
"cpu": [
26-
"arm",
2726
"x64",
2827
"ia32"
2928
],
@@ -56,7 +55,7 @@
5655
},
5756
"dependencies": {
5857
"clipboardy": "^1.2.3",
59-
"opencv4nodejs": "^4.14.1",
58+
"opencv4nodejs-prebuilt": "^4.14.1",
6059
"robotjs": "^0.5.1"
6160
},
6261
"devDependencies": {
@@ -68,4 +67,4 @@
6867
"typescript": "^3.3.3333",
6968
"version-bump-prompt": "^5.0.0"
7069
}
71-
}
70+
}

0 commit comments

Comments
 (0)