资源简介
Canon相机控制软件。包括vb、vc、c# 三种语言都可以运行! Canon相机SDK!!不坑人!包含所有需要的dll库,下载直接vs2017运行即可! 这个资源的整合是我花了好一会时间找到的!希望对大家有所帮助!
支持以下相机: EOS-1D Mark III EOS 40D EOS-1Ds Mark III EOS DIGITAL REBEL Xsi/450D/ Kiss X2 EOS DIGITAL REBEL XS/ 1000D/ KISS F EOS 50D EOS 5D Mark II EOS Kiss X3/EOS REBEL T1i /EOS 500D EOS 7D EOS-1D Mark IV EOS Kiss X4/EOS REBEL T2i /EOS 550D EOS 60D EOS Kiss X5/EOS REBEL T3i /EOS 600D EOS Kiss X50/EOS REBEL T3 /EOS 1100D EOS-1D X EOS 5D MarkIII EOS 60Da EOS 650D
(The latest version of Canon SLR camera development kits, domestic not download Oh Canon Digital EOS SDK ED-SDK v2.11 supports the following cameras: EOS-1D Mark III EOS 40D EOS-1Ds Mark III EOS DIGITAL REBEL Xsi/450D/Kiss X2 EOS DIGITAL REBEL XS/1000D/KISS F EOS 50D EOS 5D Mark II EOS Kiss X3/EOS REBEL T1i/EOS 500D EOS 7D EOS-1D Mark IV EOS Kiss X4/EOS REBEL T2i/EOS 550D EOS 60D EOS Kiss X5/EOS REBEL T3i/EOS 600D EOS Kiss X50/EOS REBEL T3/EOS 1100D EOS-1D X EOS 5D MarkIII EOS 60Da EOS 650D)
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading;
using EDSDKLib;
namespace CanonSDKTutorial
{
public class SDKHandler : IDisposable
{
#region Variables
///
/// The used camera
///
public Camera MainCamera { get; private set; }
///
/// States if a session with the MainCamera is opened
///
public bool CameraSessionOpen { get; private set; }
///
/// States if the LiveView is on or not
///
public bool IsLiveViewOn { get; private set; }
///
/// States if LiveView is recorded or not
///
public bool IsEvfFilming { get; private set; }
///
/// Directory to where photos will be saved
///
public string ImageSaveDirectory { get; set; }
///
/// Handles errors that happen with the SDK
///
public uint Error
{
get { return EDSDK.EDS_ERR_OK; }
set { if (value != EDSDK.EDS_ERR_OK) throw new Exception(“SDK Error: “ + value); }
}
///
/// frame buffer for LiveView recording
///
private Queue frameBuffer = new Queue(1000);
///
/// LiveView has to be paused when taking a picture
///
private bool PauseLiveView;
#endregion
#region Events
#region SDK Events
public event EDSDK.EdsCameraAddedHandler SDKCameraAddedEvent;
public event EDSDK.EdsobjectEventHandler SDKobjectEvent;
public event EDSDK.EdsProgressCallback SDKProgressCallbackEvent;
public event EDSDK.EdsPropertyEventHandler SDKPropertyEvent;
public event EDSDK.EdsStateEventHandler SDKStateEvent;
#endregion
#region Custom Events
public delegate void CameraAddedHandler();
public delegate void ProgressHandler(int Progress);
public delegate void ImageUpdate(Image img);
public delegate void FloatUpdate(float Value);
///
/// Fires if a camera is added
///
public event CameraAddedHandler CameraAdded;
///
/// Fires if any process reports progress
///
public event ProgressHandler ProgressChanged;
///
/// Fires if the LiveView image is updated
///
public event ImageUpdate LiveViewUpdated;
///
/// Fires if a new framerate is calculated
///
public event FloatUpdate frameRateUpdated;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1882894 2012-07-02 01:36 Canon_Digital_EOS_SDK__ED-SDK_v2.11\Document\EDSDK_API.pdf
文件 7364608 2012-04-12 08:03 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\DPPDLL.dll
文件 128512 2012-03-22 06:11 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\DPPLibCom.dll
文件 2375680 2012-02-23 02:39 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\DPPRSC.dll
文件 454656 2012-04-24 09:56 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\EDSDK.dll
文件 2322432 2011-07-01 00:50 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\EdsImage.dll
文件 92202 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1001_F.BIN
文件 87831 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1001_faf.BIN
文件 104098 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1001_L.BIN
文件 87636 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1001_lnd.BIN
文件 90595 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1001_N.BIN
文件 87298 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1001_ntl.BIN
文件 93502 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1001_P.BIN
文件 88377 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1001_ptr.BIN
文件 94796 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1001_S.BIN
文件 87263 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1001_std.BIN
文件 101856 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1011_F.BIN
文件 96516 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1011_faf.BIN
文件 108256 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1011_L.BIN
文件 93049 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1011_lnd.BIN
文件 102235 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1011_N.BIN
文件 96476 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1011_ntl.BIN
文件 104120 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1011_P.BIN
文件 90607 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1011_ptr.BIN
文件 101154 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1011_S.BIN
文件 92694 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1011_std.BIN
文件 98077 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1021_F.BIN
文件 97979 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1021_fa.BIN
文件 94175 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1021_faf.BIN
文件 112161 2009-11-04 06:10 Canon_Digital_EOS_SDK__ED-SDK_v2.11\EDSDK\DLL\icc\1021_L.BIN
............此处省略581个文件信息
评论
共有 条评论