Skip to content

Commit ae2fcef

Browse files
committed
update readme
1 parent c86191b commit ae2fcef

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## 0.6.2
66

7-
* try add support for macos, see [this workflow](https://github.com/rainyl/opencv_dart/actions/workflows/build_macos.yaml)
7+
* add support for macos x64
88

99
## 0.6.1
1010

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ OpenCV Bindings for Dart Language.
66

77
*WIP, contributions are welcome!*
88

9-
| Platform | Supported | Tested | Prebuilt Binaries |
10-
| -------- | ----------------------- | ----------------------- | ------------------------------ |
11-
| Android | :white_check_mark: | :ballot_box_with_check: | x86_64, arm64-v8a, armeabi-v7a |
12-
| iOS | :x: | :x: | :x: |
13-
| Linux | :white_check_mark: | :white_check_mark: | x64 |
14-
| Windows | :white_check_mark: | :white_check_mark: | x64 |
15-
| macOS | :ballot_box_with_check: | :ballot_box_with_check: | x64, Experimental |
9+
| Platform | Supported | Tested | Prebuilt Binaries |
10+
| -------- | ------------------ | ----------------------- | ------------------------------ |
11+
| Android | :white_check_mark: | :ballot_box_with_check: | x86_64, arm64-v8a, armeabi-v7a |
12+
| iOS | :x: | :x: | :x: |
13+
| Linux | :white_check_mark: | :white_check_mark: | x64 |
14+
| Windows | :white_check_mark: | :white_check_mark: | x64 |
15+
| macOS | :white_check_mark: | :white_check_mark: | x64, arm64 |
1616

1717
- I have no Apple devices, so iOS and ~~macOS are not supported yet~~ macOS compiled by Github Workflow available now, try it!
1818
- Theorically the dart codes will work for iOS, you can compile binaries by yourself, contributions are welcome!
@@ -115,19 +115,19 @@ This package is in heavy development, dynamic libraries for Windows and linux ha
115115
for windows:
116116

117117
```pwsh
118-
python .\scripts\build.py --opencv --os linux --arch x64 --build-dir build --src src
118+
python .\scripts\build.py --opencv --build-dir build --src src windows --arch x64
119119
```
120120

121121
for linux:
122122

123123
```bash
124-
python ./scripts/build.py --opencv --os linux --arch x64 --build-dir build --src src
124+
python ./scripts/build.py --opencv --build-dir build --src src linux --arch x64
125125
```
126126

127127
for macOS:
128128

129129
```bash
130-
python3 ./scripts/build.py --opencv --os macos --arch arm64 --build-dir build --src src
130+
python3 ./scripts/build.py --opencv --build-dir build --src src macos --arch <arm64, x64>
131131
```
132132

133133
for android, you need to download [android ndk](https://developer.android.com/ndk/downloads) and [opencv for android sdk](https://opencv.org/releases/), extract opencv sdk and copy and rename `OpenCV-android-sdk` to `build/opencv/android` directory.
@@ -137,25 +137,25 @@ This package is in heavy development, dynamic libraries for Windows and linux ha
137137
windows:
138138

139139
```bash
140-
python ./scripts/build.py --dart --os windows --arch x64 --build-dir build --src src
140+
python ./scripts/build.py --dart --build-dir build --src src windows --arch x64
141141
```
142142

143143
linux:
144144

145145
```bash
146-
python ./scripts/build.py --dart --os linux --arch x64 --build-dir build --src src
146+
python ./scripts/build.py --dart --build-dir build --src src linux --arch x64
147147
```
148148

149149
macOS:
150150

151151
```bash
152-
python3 ./scripts/build.py --dart --os macos --arch arm64 --build-dir build --src src
152+
python3 ./scripts/build.py --dart --build-dir build --src src macos --arch <x64, arm64>
153153
```
154154

155155
Android:
156156

157157
```bash
158-
python ./scripts/build.py --dart --os android --arch x64 --build-dir build --src src --android-ndk <Android NDK path> --android-abi <x86_64, arm64-v8a, armeabi-v7a>
158+
python ./scripts/build.py --dart --build-dir build --src src --android-ndk <Android NDK path> android --arch <x86_64, arm64-v8a, armeabi-v7a>
159159
```
160160

161161
7. If you want to test using vscode, add dynamic library path to `"dart.env"` in `settings.json`

0 commit comments

Comments
 (0)