كيف استخدام الكاميرا في لغة دلفي
#1
السلام عليكم
كيف استخدام الكاميرا في لغة دلفي ؟
الرد
#2
استخدم مكون dspack
رائع بمعنى الكلمة
الرد
#3
السلام عليكم

هل من الممكن شرح لي المكون dspack ؟؟
الرد
#4
PHP كود :
var
  
Bitmap: TBitmap;
begin
  Bitmap 
:= TBitmap.Create;
  try
    
CamHelper1.GetCams;
    if 
CamHelper1.CamCount > 0 then
    begin
      CamHelper1
.StartCam(1);
      
CamHelper1.GetImage(Bitmap);
      
img1.Picture.Assign(Bitmap);
    
end;
  finally
    
Bitmap.Free;
  
end;
end; 

WebCam.dpk
requires
rtl,
vcl,
vclimg
http://delphi4arab.net/forum/showthread....9#pid27059
الرد
#5
إستخدم مكونات IMAGEEN أفضل بكثير من مكونات dspack .
تدعم حتى Delphi XE5.

ImageEn is the most powerful native image library available for Delphi and C++ Builder, and is also available for .NET. The library includes a complete suite of components to handle all aspects of image and editing, analysis and display. Join thousands of other developers who rely on ImageEn to add professional multimedia functionality to their software.

Compatibility
Delphi 5 - XE5 (32/64 bit), C++ Builder 5 - XE5 (32/64 bit) .
كود :
http://www.imageen.com/info/index.html

أمثلة لتطبيق الكاميرا و السكانر
Image Acquisition Demos
كود :
http://www.imageen.com/files/demos/zips/ImageAcquisition.zip


Acquire from Any Source
Demonstrates acquisition from any source: Twain, WIA and connected cameras and cards
كود :
http://www.imageen.com/files/demos/run/ImageAcquisition/AllAcquire/AllAcquire.exe

Take Photo with WIA
Take a snapshot from a WIA device

كود :
http://www.imageen.com/files/demos/run/ImageAcquisition/TakePhoto/TakePhoto.exe

Twain Scanner
Acquisition and configuration of a Twain scanner
كود :
http://www.imageen.com/files/demos/run/ImageAcquisition/Twain/TwainDemo.exe

Twain Settings Storage
Loading and saving of setting from a Twain device

كود :
http://www.imageen.com/files/demos/run/ImageAcquisition/TwainStore/TwainStore.exe

WIA Acquisition
Retrieval of images from a camera using WIA
كود :
http://www.imageen.com/files/demos/run/ImageAcquisition/CameraGetImages/CameraGetImages.exe

WIA Scanner
Acquisition of images from cameras and scanners using WIARun

كود :
http://www.imageen.com/files/demos/run/ImageAcquisition/WIAScanner/WIAScanner.exe
الرد
#6
ابحث عن مكون TCamRemote فهو سهل جداً وفيه امكانيات كثيرة
الرد


التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم