• 大小: 9.27MB
    文件类型: .rar
    金币: 2
    下载: 1 次
    发布日期: 2023-10-23
  • 语言: 其他
  • 标签: openCVSharp  

资源简介

可以用的opencvsharp unity3d工程

资源截图

代码片段和文件信息

using UnityEngine;
using System.Collections;
using OpenCvSharp;
//using OpenCvSharp.MachineLearning;

public class CaptureTest5 : MonoBehaviour
{
    private CvCapture capture;
   
    

    private int maxPointNum;
    //private CvMemStorage storage;
    //private CvSeq maxSeq;
    // Use this for initialization
    void Start()
    {
        //storage = Cv.CreateMemStorage(0);
        //test = new PointTest();
        //storage = Cv.CreateMemStorage(0);
        capture = Cv.CreateCameraCapture(0);
        
      
    }

    // Update is called once per frame
    unsafe void Update()
    {

        IplImage frame = Cv.Queryframe(capture);
        //Debug.Log(frame.NChannels);

        Cv.ShowImage(“frame“ frame);






    }
        
    

  
    void OnDestroy()
    {
        //Cv.ReleaseMemStorage(storage);
        //Cv.ReleaseMemStorage(storage);
        Cv.DestroyAllWindows();
        Cv.ReleaseCapture(capture);

    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       3493  2015-02-11 15:42  OpenCVUnity\Assembly-CSharp-vs.csproj

     文件       3493  2015-02-11 15:42  OpenCVUnity\Assembly-CSharp.csproj

     文件       1006  2015-02-11 15:45  OpenCVUnity\Assets\CaptureTest5.cs

    ..A..H.       178  2015-02-11 15:42  OpenCVUnity\Assets\CaptureTest5.cs.meta

     文件      40960  2015-02-03 19:52  OpenCVUnity\Assets\OpenCvSharpUnity\OpenCvSharp.Blob.dll

    ..A..H.       153  2015-02-11 15:16  OpenCVUnity\Assets\OpenCvSharpUnity\OpenCvSharp.Blob.dll.meta

     文件     689664  2015-02-03 19:52  OpenCVUnity\Assets\OpenCvSharpUnity\OpenCvSharp.CPlusPlus.dll

    ..A..H.       153  2015-02-11 15:16  OpenCVUnity\Assets\OpenCvSharpUnity\OpenCvSharp.CPlusPlus.dll.meta

     文件     496640  2015-02-03 19:52  OpenCVUnity\Assets\OpenCvSharpUnity\OpenCvSharp.dll

    ..A..H.       153  2015-02-11 15:16  OpenCVUnity\Assets\OpenCvSharpUnity\OpenCvSharp.dll.meta

     文件      13312  2015-02-03 19:52  OpenCVUnity\Assets\OpenCvSharpUnity\OpenCvSharp.UserInterface.dll

    ..A..H.       153  2015-02-11 15:16  OpenCVUnity\Assets\OpenCvSharpUnity\OpenCvSharp.UserInterface.dll.meta

     文件     873472  2015-02-03 19:53  OpenCVUnity\Assets\OpenCvSharpUnity\OpenCvSharpExtern.dll

    ..A..H.        90  2015-02-11 15:16  OpenCVUnity\Assets\OpenCvSharpUnity\OpenCvSharpExtern.dll.meta

    ..A..H.       107  2015-02-11 01:17  OpenCVUnity\Assets\OpenCvSharpUnity.meta

     文件     421200  2015-02-03 18:03  OpenCVUnity\Assets\Plugins\msvcp100.dll

    ..A..H.        90  2015-02-11 11:56  OpenCVUnity\Assets\Plugins\msvcp100.dll.meta

     文件     535008  2015-02-03 18:03  OpenCVUnity\Assets\Plugins\msvcp110.dll

    ..A..H.        90  2015-02-11 11:56  OpenCVUnity\Assets\Plugins\msvcp110.dll.meta

     文件     773968  2015-02-03 18:03  OpenCVUnity\Assets\Plugins\msvcr100.dll

    ..A..H.        90  2015-02-11 11:56  OpenCVUnity\Assets\Plugins\msvcr100.dll.meta

     文件     875472  2015-02-03 18:03  OpenCVUnity\Assets\Plugins\msvcr110.dll

    ..A..H.        90  2015-02-11 11:56  OpenCVUnity\Assets\Plugins\msvcr110.dll.meta

     文件    1012736  2015-02-03 18:03  OpenCVUnity\Assets\Plugins\opencv_calib3d2410.dll

    ..A..H.        90  2015-02-11 11:56  OpenCVUnity\Assets\Plugins\opencv_calib3d2410.dll.meta

     文件    1214976  2015-02-03 18:03  OpenCVUnity\Assets\Plugins\opencv_contrib2410.dll

    ..A..H.        90  2015-02-11 11:56  OpenCVUnity\Assets\Plugins\opencv_contrib2410.dll.meta

     文件    2150400  2015-02-03 18:03  OpenCVUnity\Assets\Plugins\opencv_core2410.dll

    ..A..H.        90  2015-02-11 11:56  OpenCVUnity\Assets\Plugins\opencv_core2410.dll.meta

     文件     742400  2015-02-03 18:03  OpenCVUnity\Assets\Plugins\opencv_features2d2410.dll

............此处省略388个文件信息

评论

共有 条评论