@@ -69,23 +69,23 @@ Prebuilt binaries are available for [LuaJIT 2.1](https://luajit.org/) and [Lua 5
6969I 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
7575Or 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
8585If 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
264264git 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
266266cd 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
269269build.bat --target lua "-DLua_VERSION=5.4" --install
270270build.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
272272luarocks\luarocks.bat install --deps-only samples\samples-scm-1.rockspec
273273npm ci
274274node scripts\test.js --Release
@@ -278,13 +278,13 @@ node scripts\test.js --Release
278278
279279``` sh
280280git 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
282282cd 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
289289npm ci
290290node scripts/test.js --Release
@@ -298,7 +298,7 @@ Therefore, it is not practical to repeat that process again.
298298To 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
302302cd lua-opencv/luarocks
303303luarocks --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"
304304luarocks --lua-version " <Which Lua version to use>" config --scope project cmake_generator Ninja
0 commit comments