Skip to content

Commit

Permalink
Merge pull request #46 from swarm-lab/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
sjmgarnier authored Jan 20, 2024
2 parents e1567bd + 3a00c2e commit 3003806
Show file tree
Hide file tree
Showing 26 changed files with 61 additions and 2,936 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: ROpenCVLite
Type: Package
Title: Helper Package for Installing OpenCV with R
Version: 4.90.0
Date: 2024-01-08
Version: 4.90.1
Date: 2024-01-20
Authors@R: c(
person("Simon", "Garnier", email = "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-3886-3974")),
Expand All @@ -22,7 +22,7 @@ Imports:
parallel
SystemRequirements:
cmake
RoxygenNote: 7.2.3
RoxygenNote: 7.3.0
Biarch: false
Encoding: UTF-8
Depends:
Expand Down
13 changes: 13 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# ROpenCVLite 4.90.1

## New features

* Adds WeChat QR code module (thanks to @wresch).
* Adds pkgconfig files (thanks to @wresch).

## Minor improvements and fixes

* Remove some processor optimization to avoid errors on Windows with recent CPUs.

---

# ROpenCVLite 4.90.0

## New features
Expand Down
7 changes: 4 additions & 3 deletions R/install.R
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,14 @@ defaultOpenCVPath <- function() {
' -DOpenCV_ARCH=x64',
' -DOpenCV_RUNTIME=mingw',
' -DBUILD_SHARED_LIBS=ON',
if (grepl("11", config$os)) ' -DCPU_DISPATCH=SSE4_1,SSE4_2,FP16,AV')
' -DCPU_DISPATCH=SSE4_1,SSE4_2,FP16,AV')
),
' -DCMAKE_MAKE_PROGRAM="', config$make_path, '"',
' -DCMAKE_CXX_STANDARD=11',
' -DENABLE_PRECOMPILED_HEADERS=OFF',
' -DOPENCV_EXTRA_MODULES_PATH=', config$contrib_dir,
' -DBUILD_LIST=calib3d,core,dnn,features2d,flann,gapi,highgui,imgcodecs,imgproc,ml,objdetect,photo,stitching,video,videoio,ximgproc',
' -DBUILD_LIST=calib3d,core,dnn,features2d,flann,gapi,highgui,imgcodecs,imgproc,ml,objdetect,photo,stitching,video,videoio,ximgproc,wechat_qrcode',
' -DOPENCV_GENERATE_PKGCONFIG=ON',
' -DWITH_OPENMP=ON',
' -DWITH_TBB=ON',
' -DWITH_EIGEN=ON',
Expand Down Expand Up @@ -287,4 +288,4 @@ removeOpenCV <- function() {
message("OpenCV is not installed on this system. Nothing to be done.")
!isOpenCVInstalled()
}
}
}
4 changes: 1 addition & 3 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@

## R CMD check results

* Version jumps in minor (submitted: 4.90.0, existing: 4.80.1)

This is normal. The package numbering scheme is based on the OpenCV version number.
* N/A.

## Downstream dependencies

Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/install.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/usage.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pkgdown_sha: ~
articles:
install: install.html
usage: usage.html
last_built: 2024-01-08T14:03Z
last_built: 2024-01-20T20:53Z
urls:
reference: https://swarm-lab.github.io/ROpenCVLite/reference
article: https://swarm-lab.github.io/ROpenCVLite/articles
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/OpenCVPath.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ROpenCVLite-package.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/defaultOpenCVPath.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/installOpenCV.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/isCmakeInstalled.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/isOpenCVInstalled.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/opencvConfig.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/opencvVersion.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/removeOpenCV.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3003806

Please sign in to comment.