@@ -68,23 +68,23 @@ Prebuilt binaries are available for [LuaJIT 2.1](https://luajit.org/) and [Lua 5
6868I 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
7474Or 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
8484If 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
263263git 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
265265cd 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
268268build.bat --target lua "-DLua_VERSION=5.4" --install
269269build.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
271271luarocks\luarocks.bat install --deps-only samples\samples-scm-1.rockspec
272272npm ci
273273node scripts\test.js --Release
@@ -277,13 +277,13 @@ node scripts\test.js --Release
277277
278278``` sh
279279git 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
281281cd 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
288288npm ci
289289node scripts/test.js --Release
@@ -297,7 +297,7 @@ Therefore, it is not practical to repeat that process again.
297297To 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
301301cd lua-opencv/luarocks
302302luarocks --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"
303303luarocks --lua-version " <Which Lua version to use>" config --scope project cmake_generator Ninja
0 commit comments