Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Oct 27, 2023
1 parent 8b43a9e commit 5d10e61
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on: [push]
# - '*'

env:
NCNN_VERSION: 20230223
OPENCV_VERSION: 4.6.0
OPENCV_MOBILE_TAG: v16
NCNN_VERSION: 20231027
OPENCV_VERSION: 4.8.1
OPENCV_MOBILE_TAG: v20

jobs:
release-apk:
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ this is a sample ncnn android project, it depends on ncnn library only

https://github.com/Tencent/ncnn

## apk download

https://github.com/nihui/ncnn-android-squeezenet/releases

## how to build and run
### step1
https://github.com/Tencent/ncnn/releases
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/jni/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ project(squeezencnn)

cmake_minimum_required(VERSION 3.10)

set(ncnn_DIR ${CMAKE_SOURCE_DIR}/ncnn-20210525-android-vulkan/${ANDROID_ABI}/lib/cmake/ncnn)
set(ncnn_DIR ${CMAKE_SOURCE_DIR}/ncnn-20231027-android-vulkan/${ANDROID_ABI}/lib/cmake/ncnn)
find_package(ncnn REQUIRED)

add_library(squeezencnn SHARED squeezencnn_jni.cpp)
Expand Down

0 comments on commit 5d10e61

Please sign in to comment.