@@ -124,17 +124,17 @@ sudo dnf install -y libavcodec-free-devel libavformat-free-devel libdc1394-devel
124124I recommend you to try installing the prebuilt binary with
125125
126126``` sh
127- luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua
127+ luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.5 opencv_lua
128128```
129129
130130Or to specify the target lua version with one of the following commands
131131
132132``` sh
133- luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.10.0luajit2.1
134- luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.10.0lua5.4
135- luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.10.0lua5.3
136- luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.10.0lua5.2
137- luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.10.0lua5.1
133+ luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.5 opencv_lua 4.10.0luajit2.1
134+ luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.5 opencv_lua 4.10.0lua5.4
135+ luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.5 opencv_lua 4.10.0lua5.3
136+ luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.5 opencv_lua 4.10.0lua5.2
137+ luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.5 opencv_lua 4.10.0lua5.1
138138```
139139
140140Those prebuilt binaries should work on Windows and many linux distributions and have been tested on:
@@ -154,7 +154,7 @@ Those prebuilt binaries should work on Windows and many linux distributions and
154154If none of the above works for you, then install the source rock with
155155
156156``` sh
157- luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.10.0
157+ luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.5 opencv_lua 4.10.0
158158```
159159
160160## Examples
@@ -340,14 +340,14 @@ All the examples in the samples directory can be run by folling theses instructi
340340
341341``` cmd
342342git clone --depth 1 --branch 4.10.0 https://github.com/opencv/opencv.git
343- git clone --depth 1 --branch v0.0.4 https://github.com/smbape/lua-opencv.git
343+ git clone --depth 1 --branch v0.0.5 https://github.com/smbape/lua-opencv.git
344344cd lua-opencv
345345@REM build.bat "-DLua_VERSION=luajit-2.1" --target luajit --install
346346@REM available versions are 5.1, 5.2, 5.3, 5.4
347347build.bat "-DLua_VERSION=5.4" --target lua --install
348348build.bat "-DLua_VERSION=5.4" --target luarocks
349- @REM luarocks\luarocks.bat install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.10.0luajit2.1
350- luarocks\luarocks.bat install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua
349+ @REM luarocks\luarocks.bat install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.5 opencv_lua 4.10.0luajit2.1
350+ luarocks\luarocks.bat install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.5 opencv_lua
351351luarocks\luarocks.bat install --deps-only samples\samples-scm-1.rockspec
352352npm ci
353353node scripts\test.js --Release
@@ -357,14 +357,14 @@ node scripts\test.js --Release
357357
358358``` sh
359359git clone --depth 1 --branch 4.10.0 https://github.com/opencv/opencv.git
360- git clone --depth 1 --branch v0.0.4 https://github.com/smbape/lua-opencv.git
360+ git clone --depth 1 --branch v0.0.5 https://github.com/smbape/lua-opencv.git
361361cd lua-opencv
362362# ./build.sh "-DLua_VERSION=luajit-2.1" --target luajit --install
363363# available versions are 5.1, 5.2, 5.3, 5.4
364364./build.sh " -DLua_VERSION=5.4" --target lua --install
365365./build.sh " -DLua_VERSION=5.4" --target luarocks
366- # ./luarocks/luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua 4.10.0luajit2.1
367- ./luarocks/luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.4 opencv_lua
366+ # ./luarocks/luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.5 opencv_lua 4.10.0luajit2.1
367+ ./luarocks/luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.5 opencv_lua
368368./luarocks/luarocks install --deps-only samples/samples-scm-1.rockspec
369369npm ci
370370node scripts/test.js --Release
0 commit comments