@@ -71,25 +71,25 @@ Prebuilt binaries are available for [LuaJIT 2.1](https://luajit.org/) and [Lua 5
7171This will install suitable prebuilt binaries if found, otherwise will build from the source rock
7272
7373``` sh
74- luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.1 opencv_lua
74+ luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.2 opencv_lua
7575```
7676
7777### Install the source rock
7878
7979``` sh
80- luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.1 opencv_lua 4.8.0
80+ luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.2 opencv_lua 4.8.0
8181```
8282
8383### Install the prebuilt binaries for lua 5.4
8484
8585``` sh
86- luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.1 opencv_lua 4.8.0lua5.4
86+ luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.2 opencv_lua 4.8.0lua5.4
8787```
8888
8989### Install the prebuilt binaries for LuaJIT 2.1
9090
9191``` sh
92- luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.1 opencv_lua 4.8.0luajit2.1
92+ luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.2 opencv_lua 4.8.0luajit2.1
9393```
9494
9595## Examples
@@ -265,11 +265,11 @@ cv.destroyAllWindows()
265265
266266``` cmd
267267git clone --depth 1 --branch 4.8.0 https://github.com/opencv/opencv.git
268- git clone --depth 1 --branch v0.0.1 https://github.com/smbape/lua-opencv.git
268+ git clone --depth 1 --branch v0.0.2 https://github.com/smbape/lua-opencv.git
269269cd lua-opencv
270270build.bat --target lua "-DLua_VERSION=5.4" --install
271271build.bat --target luarocks
272- luarocks\luarocks.bat install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.1 opencv_lua
272+ luarocks\luarocks.bat install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.2 opencv_lua
273273npm ci
274274node scripts\test.js --Release
275275```
@@ -278,11 +278,11 @@ node scripts\test.js --Release
278278
279279``` cmd
280280git clone --depth 1 --branch 4.8.0 https://github.com/opencv/opencv.git
281- git clone --depth 1 --branch v0.0.1 https://github.com/smbape/lua-opencv.git
281+ git clone --depth 1 --branch v0.0.2 https://github.com/smbape/lua-opencv.git
282282cd lua-opencv
283283./build.sh --target lua "-DLua_VERSION=5.4" --install
284284./build.sh --target luarocks
285- ./luarocks/luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.1 opencv_lua
285+ ./luarocks/luarocks install --server=https://github.com/smbape/lua-opencv/releases/download/v0.0.2 opencv_lua
286286npm ci
287287node scripts/test.js --Release
288288```
@@ -295,7 +295,7 @@ Therefore, it is not practical to repeat that process again.
295295To avoid that long install time, you can host your own prebuilt binary rocks.
296296
297297``` sh
298- git clone --depth 1 --branch v0.0.1 https://github.com/smbape/lua-opencv.git
298+ git clone --depth 1 --branch v0.0.2 https://github.com/smbape/lua-opencv.git
299299cd lua-opencv/luarocks
300300luarocks --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"
301301luarocks --lua-version < Which Lua version to use> config --scope project cmake_generator Ninja
0 commit comments