File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## Minimum OpenCV And Create XCFrameworks
2+
3+ ```
4+ $ git clone https://github.com/opencv/opencv.git
5+ $ cd opencv
6+ $ git checkout -b 4.5.5 refs/tags/4.5.5
7+
8+ $ python3 platforms/ios/build_framework.py ios \
9+ `cat ../opencv_option.txt` \
10+ --build_only_specified_archs True \
11+ --iphoneos_archs arm64
12+
13+ $ python3 platforms/ios/build_framework.py ios_simulator \
14+ `cat ../opencv_option.txt` \
15+ --build_only_specified_archs True \
16+ --iphonesimulator_archs x86_64
17+
18+ $ python3 platforms/ios/build_framework.py ios_simulator \
19+ `cat ../opencv_option.txt` \
20+ --build_only_specified_archs True \
21+ --iphonesimulator_archs arm64
22+
23+ $ xcodebuild -create-xcframework \
24+ -framework ios/opencv2.framework \
25+ -framework ios_simulator/opencv2.framework \
26+ -output opencv2.xcframework
27+ ```
Original file line number Diff line number Diff line change 1+ --without video --without videoio --without videostab \
2+ --without features2d --without objdetect --without flann --without ml \
3+ --without cudaarithm --without cudabgsegm --without cudacodec --without cudafeatures2d \
4+ --without cudafilters --without cudaimgproc --without cudalegacy --without cudaobjdetect \
5+ --without cudaoptflow --without cudastereo --without cudawarping --without cudev \
6+ --without highgui --without viz --without superres --without photo \
7+ --without calib3d --without shape --without stitching \
8+ --without dnn --without aruco \
9+ --without bgsegm --without bioinspired --without ccalib \
10+ --without cnn_3dobj --without cvv --without datasets \
11+ --without dnn_modern --without dpm --without face \
12+ --without freetype --without fuzzy --without hdf --without img_hash \
13+ --without line_descriptor --without matlab --without optflow --without phase_unwrapping \
14+ --without plot --without reg --without rgbd --without saliency --without sfm --without stereo \
15+ --without structured_light --without surface_matching --without text --without tracking \
16+ --without xfeatures2d --without ximgproc --without xobjdetect --without xphoto \
17+ --without gapi \
18+ --without world \
You can’t perform that action at this time.
0 commit comments