J'ai mis ce code pour implémenter OpenCV avec Delphi
Version OpenCV: 2.3
Version Delphi 7 (je n'ai pas encore testé avec Delphi 8, ....XE2)
Si quelqu'un teste avec d'autres versions de Delphi, je suis preneur.
Contenu du fichier
- Les fichiers binaire ".dll" OpenCV 2.3
- Les fichiers entêtes ".pas" contenant les fonctions et procédures
* OpenCV_Core.pas
* OpenCV_ImgProc.pas
* OpenCV_Legacy.pas
* OpenCV_HighGui.pas
* OpenCV_Types.pas
* OpenCV_Utils.pas
* OpenCV_MachineLearning.pas
* OpenCV_GPU.pas
* OpenCV_Features.pas
* OpenCV_ObjDetect.pas
* OpenCV_Video.pas
* OpenCV_Calibration.pas
- Les Exemples démontrant l'utilisation en Delphi.
J'ai mis des exemples juste pour démontrer que ça marche parfaitement.
Cet exemple n'est pas parfait mais il fonctionne.
* ANPR
* BackGround Substraction
* Canny
* Compare Histogram
* Drawing Histogram
* Find Object
* Machine Learning (KNearest)
* Match Template
* Motion Detection
* OCR
* Segmentation (Sobel, Laplace, ....)
* Snake
* Threshold
* Track Corner
* Tracking Face, Mouth, Eye
Un autre problème que j'ai rencontré c'est d'utiliser les class C++ en Delphi, donc j'ai trouver une solution de créer une fichier OpenCV_Class.dll pour faire l'interface sur les class C++.
Un autre problème aussi d'utiliser les fonction GPU en Delphi. Je ne sais pas comment on convertit les templates <> en Delphi.
Fichier d'entête: https://docs.google.com/file/d/0BwaH...it?usp=sharing
Fichier Binaire Dll: https://docs.google.com/file/d/0BwaH...it?usp=sharing
Example Demo:
- Track Face, Mouth, Eye: https://docs.google.com/file/d/0BwaH...it?usp=sharing
- Track corner: https://docs.google.com/file/d/0BwaH...it?usp=sharing
- Threshold: https://docs.google.com/file/d/0BwaH...it?usp=sharing
- Snake: https://docs.google.com/file/d/0BwaH...> usp=sharing
- Segmentation(Sobel, Laplace, ...): https://docs.google.com/file/d/0BwaH...it?usp=sharing
- OCR: https://docs.google.com/file/d/0BwaH...it?usp=sharing
- Motion Detect: https://docs.google.com/file/d/0BwaH...it?usp=sharing
- Match Template: https://docs.google.com/file/d/0BwaH...it?usp=sharing
- Machine Learning (KNearest): https://docs.google.com/file/d/0BwaH...it?usp=sharing
- Find Object: https://docs.google.com/file/d/0BwaH...it?usp=sharing
- Drawing Histogram: https://docs.google.com/file/d/0BwaH...it?usp=sharing
- Canny: https://docs.google.com/file/d/0BwaH...it?usp=sharing
- Background substractor: https://docs.google.com/file/d/0BwaH...it?usp=sharing
- ANPR: https://docs.google.com/file/d/0BwaH...it?usp=sharing
Document OpenCV (en C++): https://docs.google.com/file/d/0BwaH...it?usp=sharing
Data pour HaarClassified: https://docs.google.com/file/d/0BwaH...it?usp=sharing
Si vous trouvez d'autres améliorations, envoyez-les moi au rdr2510@gmail.com