पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

पैकेज विवरणv2.2.2

opencv_dart

Flutter के लिए OpenCV4 बाइंडिंग्स, dart:ffi का उपयोग करके।

AndroidiOSmacOSWindowsLinux
30-दिन डाउनलोड
17.5 हज़ार
लाइक
137
Pub अंक
140

पैकेज इंस्टॉल करें

flutter pub add opencv_dart

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

opencv_dart dart:ffi का उपयोग करके Flutter के लिए OpenCV4 बाइंडिंग प्रदान करता है, जिससे क्रॉस-प्लेटफ़ॉर्म एप्लिकेशन में कंप्यूटर विज़न और छवि प्रोसेसिंग क्षमता प्राप्त होती है। यह डेवलपर्स को OpenCV के विस्तृत एल्गोरिथ्म लाइब्रेरी का उपयोग करने की अनुमति देता है—जैसे छवि फ़िल्टरिंग, ऑब्जेक्ट डिटेक्शन, और फीचर एक्सट्रैक्शन—सीधे Android, iOS, macOS, Windows और Linux पर Flutter ऐप्स में। यह पैकेज मूल ओपनसीवी फंक्शनैलिटी को डार्ट कोड से जोड़ता है, डायरेक्ट सिस्टम कॉल्स के माध्यम से उच्च प्रदर्शन प्रदान करता है। रियल-टाइम कैमरा प्रोसेसिंग, ओसीआर, या उन्नत छवि विश्लेषण को मोबाइल और डेस्कटॉप ऐप्स में एकीकृत करने के लिए आदर्श है।

उपयोग

  • रियल-टाइम इमेज प्रोसेसिंग
  • OCR एकीकरण
  • वस्तु निर्धारण
  • कैमरा-आधारित विश्लेषण
  • चेहरा पहचान

मुख्य विशेषताएँ

  • प्लेटफॉर्म के अनुकूल समर्थन
  • प्रदर्शन के लिए dart:ffi का उपयोग करता है
  • OpenCV4 सामंजस्यता
  • मूल ओपनसीवी फ़ंक्शन प्राप्त करें
  • हल्का लेप

इनके लिए उपयुक्त

  • कंप्यूटर विजन की आवश्यकता वाले Flutter विकासकर्ता
  • चित्र विश्लेषण की आवश्यकता वाले ऐप्स
  • मोबाइल और डेस्कटॉप विज़न प्रोजेक्ट्स
  • प्रोटोटाइप विज़न फीचर्स
  • प्रदर्शन-महत्वपूर्ण छवि प्रसंस्करण

विचार योग्य बातें

  • मूल ओपनसीवी लाइब्रेरीज़ की आवश्यकता होती है
  • प्लेटफॉर्म-विशिष्ट सेटअप की आवश्यकता हो सकती है
  • सीमित दस्तावेज़
  • एप्प बंडल में संभावित आकार वृद्धि
  • नेटिव कोड का डीबग करना जटिल हो सकता है

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

opencv_dart

OpenCV Bindings for Dart Language. Support both asynchronous and synchronous!

Star on Github License: Apache-2.0
Native Assets Build Discord Server
Package Link Description
dartcv4 OpenCV bindings for Dart Language.
opencv_dart OpenCV for Flutter, from 2.x , it is a wrapper of dartcv4 to keep compatibility.

[!NOTE] WIP, APIs may change in the future, contributions are welcome!

Demos

Screenshot Link
example example
videoio texture renderer
dnn_minist DNN MNIST inference
stitching stitching
stitching camera
stitching videoio

Supported Platforms

Platform Supported Tested Platforms
Android :white_check_mark: :white_check_mark: x86_64, arm64-v8a, armeabi-v7a
iOS :white_check_mark: :white_check_mark: arm64, x64+arm64(Simulator)
Linux :white_check_mark: :white_check_mark: x64, arm64
Windows :white_check_mark: :white_check_mark: x64, arm64
macOS :white_check_mark: :white_check_mark: x64, arm64

Status

Core Modules
module Binding status Test status description
core :white_check_mark: :white_check_mark: Core module
calib3d :white_check_mark: :white_check_mark: Calib3D module
dnn :white_check_mark: :white_check_mark: DNN module
features2d :white_check_mark: :white_check_mark: Features2D module
gapi :x: :x: GAPI module
highgui :white_check_mark: :white_check_mark: HighGUI module
imgcodecs :white_check_mark: :white_check_mark: ImageCodecs module
imgproc :white_check_mark: :white_check_mark: ImageProc module
ml :x: :x: ML module
objdetect :white_check_mark: :white_check_mark: Object Detection module
photo :white_check_mark: :white_check_mark: Photo module
stitching :ballot_box_with_check: :ballot_box_with_check: Stitching module
svd :white_check_mark: :white_check_mark: SVD module
video :white_check_mark: :white_check_mark: Video module
videoio :white_check_mark: :white_check_mark: VideoIO module
Contrib Modules
module Binding status Test status description
aruco :white_check_mark: :white_check_mark: ArUco module
img_hash :white_check_mark: :white_check_mark: Image hashing module
cuda :x: :x:
wechat_qrcode :white_check_mark: :white_check_mark:
bgsegm :x: :x:
superres :x: :x:
xfeatures2d :x: :x:
ximgproc :white_check_mark: :white_check_mark:
xobjdetect :white_check_mark: :white_check_mark:
xphoto :x: :x:
quality :white_check_mark: :white_check_mark:
  • :x: : not finished
  • :ballot_box_with_check: : partially supported
  • :white_check_mark: : finished
  • modules not in the above table are not considered, contributions are welcome
  • videoio: cv.VideoCapture from file is not supported yet supported now.

Usage

Pure Dart
import 'package:dartcv4/dartcv.dart' as cv;

void main() {
  final img = cv.imread("test/images/lenna.png", flags: cv.IMREAD_COLOR);
  final gray = cv.cvtColor(img, cv.COLOR_BGR2GRAY);
  print("${img.rows}, ${img.cols}");

  cv.imwrite("test_cvtcolor.png", gray);
}
Flutter

see awesome-opencv_dart and share yours

TODO

  • [x] compile libs for android, linux
  • [x] support for iOS, macOS
  • [x] add more examples
  • [ ] documentation
  • [x] modify C wrapper to catch exceptions
  • [x] Native Assets, see native-assets branch
  • [x] async
  • [x] more/full test coverage
  • [x] directly include opencv source code, refactor cmakelists.txt

Contributors

rainyl
rainy liu
abdelaziz-mahdy
Abdelaziz Mahdy
einsitang
爱因斯唐
Gold872
Gold87
diegolopezrm
Diego López
Jiinwoo
JinWoo Jung
westito
westito
heyarny
Arnold Stark
dupuchba
Baptiste DUPUCH
Escaton615
Escaton615
mdeleau
mdeleau
pariterre
Pariterre
lennartalff
Thies Lennart Alff
jasaw
jasaw
totemat
Matteo T.

Acknowledgement

Star History

Star History Chart

License

Apache-2.0 License

श्रेणियाँ

निर्भरताएँ

निर्भरता सूची 1 आइटम

  • dartcv4^2.2.2

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट

अभी कोई डेटा उपलब्ध नहीं है।