提交 c8b68196 编写于 作者: kl222's avatar kl222

Rename tag.sh to deploy.sh

上级 ad1d07d0
...@@ -138,21 +138,30 @@ if(NOT RabbitCommon_DIR) ...@@ -138,21 +138,30 @@ if(NOT RabbitCommon_DIR)
set(RabbitCommon_DIR ${CMAKE_SOURCE_DIR}/../RabbitCommon) set(RabbitCommon_DIR ${CMAKE_SOURCE_DIR}/../RabbitCommon)
endif() endif()
endif() endif()
if(DEFINED RabbitCommon_DIR AND EXISTS ${RabbitCommon_DIR}/Src) if(RabbitCommon_DIR AND EXISTS ${RabbitCommon_DIR}/Src)
message("Use RabbitCommon source code")
add_subdirectory(${RabbitCommon_DIR}/Src ${CMAKE_BINARY_DIR}/RabbitCommon) add_subdirectory(${RabbitCommon_DIR}/Src ${CMAKE_BINARY_DIR}/RabbitCommon)
include(${RabbitCommon_DIR}/cmake/Translations.cmake)
else() else()
message("1. Please download RabbitCommon source code from https://github.com/KangLin/RabbitCommon") find_package(RabbitCommon)
message(" ag:") if(NOT RabbitCommon_FOUND)
message(" git clone https://github.com/KangLin/RabbitCommon.git") message("RabbitCommon_DIR is not found. Please use one of the following ways to set it:")
message("2. Then set cmake value or environment variable RabbitCommon_DIR to download root dirctory.") message("1. Set RabbitCommon_DIR to the install prefix of RabbitCommon.")
message(" ag:") message("2. Set RabbitCommon_DIR to source code root of RabbitCommon.")
message(FATAL_ERROR " cmake -DRabbitCommon_DIR= ") message("2.1 Please download the source code of RabbitCommon from https://github.com/KangLin/RabbitCommon")
message(" ag:")
message(" git clone https://github.com/KangLin/RabbitCommon.git")
message("2.2 Then set cmake variable or environment variable RabbitCommon_DIR to download root directory.")
message(" ag:")
message(" cmake -DRabbitCommon_DIR= ")
message(FATAL_ERROR "RabbitCommon_DIR isn't set.")
endif()
endif() endif()
SET(FaceRecognizer_VERSION "v0.0.4")
GET_VERSION(OUT_VERSION FaceRecognizer_VERSION GET_VERSION(OUT_VERSION FaceRecognizer_VERSION
OUT_REVISION FaceRecognizer_REVISION) OUT_REVISION FaceRecognizer_REVISION)
if(NOT FaceRecognizer_VERSION)
SET(FaceRecognizer_VERSION "v0.0.4")
endif()
message("FaceRecognizer_VERSION:${FaceRecognizer_VERSION};FaceRecognizer_REVISION:${FaceRecognizer_REVISION}") message("FaceRecognizer_VERSION:${FaceRecognizer_VERSION};FaceRecognizer_REVISION:${FaceRecognizer_REVISION}")
set(VERSION ${FaceRecognizer_VERSION}) set(VERSION ${FaceRecognizer_VERSION})
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
+ Add ncnn face + Add ncnn face
+ FIX: divide by 0 crash. Affects all previous releases. + FIX: divide by 0 crash. Affects all previous releases.
See RabbitCommon: 7ed300a206d8a36c30003b6c19ad181682d0ff5f See RabbitCommon: 7ed300a206d8a36c30003b6c19ad181682d0ff5f
+ FFmpeg: update API avpicture_* to av_image_*
- v0.0.4 - v0.0.4
+ Add opencv face + Add opencv face
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
+ 增加 ncnn 实现人脸接口 + 增加 ncnn 实现人脸接口
+ 修复除 0 引起的崩溃。影响前面所有发行版本。此错误是 RabbitCommon 引起的。 + 修复除 0 引起的崩溃。影响前面所有发行版本。此错误是 RabbitCommon 引起的。
详见:RabbitCommon: 7ed300a206d8a36c30003b6c19ad181682d0ff5f 详见:RabbitCommon: 7ed300a206d8a36c30003b6c19ad181682d0ff5f
+ FFmpeg: 兼容 API avpicture_* to av_image_*
- v0.0.4 - v0.0.4
+ 增加 opencv 实现人脸接口 + 增加 opencv 实现人脸接口
......
文件已移动
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册