Skip to content

Commit b4eb1d6

Browse files
committed
0.0.3
1 parent 5b4bcda commit b4eb1d6

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
@@ -68,23 +68,23 @@ Prebuilt binaries are available for [LuaJIT 2.1](https://luajit.org/) and [Lua 5
6868
I recommend you to try installing the prebuilt binary with
6969

7070
```sh
71-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.2 opencv_lua
71+
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.3 opencv_lua
7272
```
7373

7474
Or to specify the target lua version
7575

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

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

8686
```sh
87-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.2 opencv_lua 4.9.0
87+
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.3 opencv_lua 4.9.0
8888
```
8989

9090
## Examples
@@ -261,13 +261,13 @@ cv.destroyAllWindows()
261261

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

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

299299
```sh
300-
git clone --depth 1 --branch v0.0.2 https://github.com/smbape/lua-opencv.git
300+
git clone --depth 1 --branch v0.0.3 https://github.com/smbape/lua-opencv.git
301301
cd lua-opencv/luarocks
302302
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"
303303
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.2 opencv_lua
14+
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.3 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.2 opencv_lua 4.9.0luajit2.1
18-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.2 opencv_lua 4.9.0lua5.4
19-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.2 opencv_lua 4.9.0lua5.3
20-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.2 opencv_lua 4.9.0lua5.2
21-
luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.2 opencv_lua 4.9.0lua5.1
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
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.2#hosting-you-own-binary-rocks
24+
https://github.com/smbape/lua-opencv/tree/v0.0.3#hosting-you-own-binary-rocks
2525
26-
Otherwise, follow the instructions at https://github.com/smbape/lua-opencv/tree/v0.0.2#prerequisites-to-source-rock-install
26+
Otherwise, follow the instructions at https://github.com/smbape/lua-opencv/tree/v0.0.3#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.2",
3+
"version": "0.0.3",
44
"private": true,
55
"description": "",
66
"scripts": {

0 commit comments

Comments
 (0)