Skip to content

Commit 4ffeb73

Browse files
committed
0.0.4
1 parent a319467 commit 4ffeb73

File tree

4 files changed

+23
-23
lines changed

4 files changed

+23
-23
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,23 +69,23 @@ Prebuilt binaries are available for [LuaJIT 2.1](https://luajit.org/) and [Lua 5
6969
I recommend you to try installing the prebuilt binary with
7070

7171
```sh
72-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.3 opencv_lua
72+
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua
7373
```
7474

7575
Or to specify the target lua version
7676

7777
```sh
78-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.3 opencv_lua 4.9.0luajit2.1
79-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.3 opencv_lua 4.9.0lua5.4
80-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.3 opencv_lua 4.9.0lua5.3
81-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.3 opencv_lua 4.9.0lua5.2
82-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.3 opencv_lua 4.9.0lua5.1
78+
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.9.0luajit2.1
79+
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.9.0lua5.4
80+
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.9.0lua5.3
81+
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.9.0lua5.2
82+
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.9.0lua5.1
8383
```
8484

8585
If none of the above works for you, then install the source rock
8686

8787
```sh
88-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.3 opencv_lua 4.9.0
88+
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.9.0
8989
```
9090

9191
## Examples
@@ -262,13 +262,13 @@ cv.destroyAllWindows()
262262

263263
```cmd
264264
git clone --depth 1 --branch 4.9.0 https://github.com/opencv/opencv.git
265-
git clone --depth 1 --branch v0.0.3 https://github.com/smbape/lua-opencv.git
265+
git clone --depth 1 --branch v0.0.4 https://github.com/smbape/lua-opencv.git
266266
cd lua-opencv
267267
@REM build.bat --target luajit "-DLua_VERSION=luajit-2.1"
268268
@REM available versions are 5.1, 5.2, 5.3, 5.4
269269
build.bat --target lua "-DLua_VERSION=5.4" --install
270270
build.bat --target luarocks
271-
luarocks\luarocks.bat install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.3 opencv_lua
271+
luarocks\luarocks.bat install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua
272272
luarocks\luarocks.bat install --deps-only samples\samples-scm-1.rockspec
273273
npm ci
274274
node scripts\test.js --Release
@@ -278,13 +278,13 @@ node scripts\test.js --Release
278278

279279
```sh
280280
git clone --depth 1 --branch 4.9.0 https://github.com/opencv/opencv.git
281-
git clone --depth 1 --branch v0.0.3 https://github.com/smbape/lua-opencv.git
281+
git clone --depth 1 --branch v0.0.4 https://github.com/smbape/lua-opencv.git
282282
cd lua-opencv
283283
# ./build.sh --target luajit "-DLua_VERSION=luajit-2.1"
284284
# available versions are 5.1, 5.2, 5.3, 5.4
285285
./build.sh --target lua "-DLua_VERSION=5.4" --install
286286
./build.sh --target luarocks
287-
./luarocks/luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.3 opencv_lua
287+
./luarocks/luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua
288288
./luarocks/luarocks install --deps-only samples/samples-scm-1.rockspec
289289
npm ci
290290
node scripts/test.js --Release
@@ -298,7 +298,7 @@ Therefore, it is not practical to repeat that process again.
298298
To avoid that long install time, you can host your own prebuilt binary rocks.
299299

300300
```sh
301-
git clone --depth 1 --branch v0.0.3 https://github.com/smbape/lua-opencv.git
301+
git clone --depth 1 --branch v0.0.4 https://github.com/smbape/lua-opencv.git
302302
cd lua-opencv/luarocks
303303
luarocks --lua-version "<Which Lua version to use>" --lua-dir "<Which Lua installation to use>" init --lua-versions "5.1,5.2,5.3,5.4"
304304
luarocks --lua-version "<Which Lua version to use>" config --scope project cmake_generator Ninja

luarocks/opencv_lua-scm-1.rockspec

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ description = {
1111
1212
Linux/Windows users:
1313
I recommend you to try installing the prebuilt binary with
14-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.3 opencv_lua
14+
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua
1515
1616
Or to specify the target lua version
17-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.3 opencv_lua 4.9.0luajit2.1
18-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.3 opencv_lua 4.9.0lua5.4
19-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.3 opencv_lua 4.9.0lua5.3
20-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.3 opencv_lua 4.9.0lua5.2
21-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.3 opencv_lua 4.9.0lua5.1
17+
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.9.0luajit2.1
18+
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.9.0lua5.4
19+
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.9.0lua5.3
20+
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.9.0lua5.2
21+
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.9.0lua5.1
2222
2323
If the prebuilt binary does not work, then I recommend to host your own binary rocks by following the instructions at
24-
https://github.com/smbape/lua-opencv/tree/v0.0.3#hosting-you-own-binary-rocks
24+
https://github.com/smbape/lua-opencv/tree/v0.0.4#hosting-you-own-binary-rocks
2525
26-
Otherwise, follow the instructions at https://github.com/smbape/lua-opencv/tree/v0.0.3#prerequisites-to-source-rock-install
26+
Otherwise, follow the instructions at https://github.com/smbape/lua-opencv/tree/v0.0.4#prerequisites-to-source-rock-install
2727
before attempting to install the source rock.
2828
]],
2929
homepage = "https://github.com/smbape/lua-opencv",

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opencv_lua",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"private": true,
55
"description": "",
66
"scripts": {

0 commit comments

Comments
 (0)