ถามเรื่องการติดต่อกล้องด้วย c# นะครับ
2 posters
หน้า 1 จาก 1
ถามเรื่องการติดต่อกล้องด้วย c# นะครับ
ตอนนี้ผมใช้ c# ใช้ directX.dll ปัญหาตอนนี้คือดึงภาพมาได้ แต่ยัง capture ภาพให้มาเป็น .jpg ไม่ได้
เลยมาขอแนวทางจากอาจารย์นะครับ ขอบคุณมากครับ
เลยมาขอแนวทางจากอาจารย์นะครับ ขอบคุณมากครับ
somkheart- จำนวนข้อความ : 2
Join date : 09/02/2010
ขอบคุณสำหรับคำตอบนะครับ
ตอนนี้ผมใช้วิธีนี้นะครับ
this.capturePreview.FrameCaptureComplete += new DirectX.Capture.Capture.FrameCapHandler(CaptureImage);
public void CaptureImage(PictureBox frame)
{
this.picturebox.image=frame.image;
}
this.capturePreview.FrameCaptureComplete += new DirectX.Capture.Capture.FrameCapHandler(CaptureImage);
public void CaptureImage(PictureBox frame)
{
this.picturebox.image=frame.image;
}
somkheart- จำนวนข้อความ : 2
Join date : 09/02/2010
หน้า 1 จาก 1
Permissions in this forum:
คุณไม่สามารถพิมพ์ตอบ
|
|