From 5d10e61c28ad26f275fdc0340735bf9fa9afc0a3 Mon Sep 17 00:00:00 2001 From: nihuini Date: Fri, 27 Oct 2023 19:23:54 +0800 Subject: [PATCH] update --- .github/workflows/release-apk.yml | 6 +++--- README.md | 4 ++++ app/src/main/jni/CMakeLists.txt | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-apk.yml b/.github/workflows/release-apk.yml index 19c738c..53e395f 100644 --- a/.github/workflows/release-apk.yml +++ b/.github/workflows/release-apk.yml @@ -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: diff --git a/README.md b/README.md index 926810c..2cbd14d 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/app/src/main/jni/CMakeLists.txt b/app/src/main/jni/CMakeLists.txt index e7de152..743072d 100644 --- a/app/src/main/jni/CMakeLists.txt +++ b/app/src/main/jni/CMakeLists.txt @@ -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)