【问题标题】:Continuous image capturing using phonegap使用 phonegap 连续拍摄图像
【发布时间】:2012-07-25 08:57:23
【问题描述】:

有什么方法可以在相机上每秒捕捉一张图像。我正在使用 phonegap Camera API 来捕获图像并且它工作正常。不,我需要在不按捕获按钮的情况下每秒捕获图像。有可能吗?

谢谢

【问题讨论】:

  • 我找到了 ARviewer-phoneGap (Augmented Reality) 你可以编辑代码看看他们是如何实现摄像头和图形数据区域的。

标签: iphone ios cordova phonegap-plugins


【解决方案1】:

你可以使用 NSTimer

myTimerShoot = [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(mySnapshotMethod) userInfo:nil repeats:YES];

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-12-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-03-20
    相关资源
    最近更新 更多