- 博客(1)
- 资源 (9)
- 收藏
- 关注
原创 C# 丢弃工厂模式,反射方式实现计算器
在学习设计模式的时候,其中有一种模式叫工厂模式,工厂模式里经典的案例就是设计一个计算器,在工厂模式里都是用swith() ... case ...来实例化类。并调用类里的方法 例:switch (symbol) { case "+": bc = new Add();
2017-09-04 15:13:11 714
OpenCV for Unity 2.3.4
unity图像人脸画面视觉识别系统插件OpenCV for Unity 2.3.4
所支持的Unity版本:5.6.6 及以上版本
Works with Unity Cloud Build
iOS & Android support
Windows10 UWP support
WebGL support
Win & Mac & Linux Standalone support
Preview support in the Editor
OpenCV for Unity is an Assets Plugin for using OpenCV 4.0.0 from within Unity.
Features:
- Since this package is a clone of OpenCV Java, you are able to use the same API as OpenCV Java 4.0.0 (link).
- You can image processing in real-time by using the WebCamTexture capabilities of Unity. (real-time face detection works smoothly on iPhone 5)
- Provides a method to interconversion of Unity's Texture2D and OpenCV's Mat.
- IDisposable is implemented in many classes.You can manage the resources with the “using” statement.
- Examples of integration with other publisher assets are available.(e.g. PlayMaker, NatCam, NatCorder)
ExampleCode using OpenCV for Unity is available.
MarkerBased AR Example
MarkerLess AR Example
FaceTracker Example
FaceSwapper Example
FaceMask Example
RealTime FaceRecognition Example
GoogleVR with OpenCV for Unity Example
Kinect with OpenCV for Unity Example
AVPro with OpenCV for Unity Example
HoloLens with OpenCV for Unity Example
PlayMakerActions for OpenCVforUnity
NatCam with OpenCVForUnity Example
NatCorder with OpenCVForUnity Example
MagicLeap with OpenCVForUnity Example
2019-05-26
Google.ProtocolBuffers.2.4.1.555
Google Protocol Buffers 是一种轻便高效的结构化数据存储格式,可以用于结构化数据串行化,或者说序列化。它很适合做数据存储或 RPC 数据交换格式。可用于通讯协议、数据存储等领域的语言无关、平台无关、可扩展的序列化结构数据格式。目前支持主流的语言(java\c++\python\c#\go....)。
具官方说法使用PB 进行序列化和反序列化性能是xml序列化和反序列化的20~100倍,在各种序列化和反序列化方式中,处于领先地位。
PB的序列化结果是字节与字节的连接,省略了字段名称,在存储上也比其他方式要小,更节省空间。不过这样带来了可读性变差和调试困难。
2019-03-16
C# 屏幕锁屏 Lock screen
C# 屏幕锁屏 Lock screen
1、屏蔽键盘,包括系统快捷键,任务管理器等
2、30s鼠标键盘无动作锁屏
3、锁屏密码为:8888
2018-04-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人