问题标签 [card.io]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
165 浏览

android - 删除 TextView 上下文 Card.io 扫描活动

矩形“这里有卡片。它会自动扫描”中有TextView Context。使用 CardIOActivity 时。

如何删除此 TextView?

0 投票
1 回答
157 浏览

android - card.io 无法识别 Galaxy S5 上的卡

集成在我的应用程序中的 card.io SDK for android 可在不同的设备上运行,但在 Galaxy S5 上,它不会在围绕相机对焦后“捕捉”。我知道 S5 有完全不同的 CPU 和 GPU 以及一些不同的相机属性。有同样经历的人吗?

0 投票
2 回答
703 浏览

android - Card IO Android SDK 与 Braintree Android SDK 冲突?

嗨,我只是想在一个使用带有 Gradle 构建的 Android Studio 的 Android 项目中使用Card IOBraintree Android SDK。我什至还没有添加任何引用这两个库的代码。我只是将它们设置为 gradle 构建文件中的依赖项,如下所示:

然后我尝试了一个干净并成功的构建,但是当我尝试在测试手机上运行它时,我收到了以下信息:

com.android.ide.common.internal.LoggedErrorException:无法运行命令:/Applications/ADT_Bundle/sdk/build-tools/21.1.1/dx --dex --no-optimize --output /path_to_project_root/app/build /intermediates/dex/debug --input-list=/path_to_project_root/app/build/intermediates/tmp/dex/debug/inputList.txt

我尝试删除下的所有内容

应用程序/构建/生成,输出和临时

甚至无效的 Android Studio 缓存并重新启动。不好。这在我看来是 Card IO 和 Braintree Android SDK 都有的东西,它们都将被打包到 apk 中。Braintree Android SDK 是否已经包含 Card IO 或其他内容?

谁能指出我做错了什么?非常感谢 !

0 投票
1 回答
544 浏览

iphone - Is there away to allow capturing last and first name as well as expiry date using card.io on iPhone?

Using card.io, is there any possibility to scan last name, first name as well as the expiry date on iPhone?

0 投票
1 回答
108 浏览

card.io - 如何找出在card.io扫描仪中单击了手动输入选项按钮?

如何找出在card.io扫描仪中单击了手动输入选项按钮?

是否可以找出引发的手动输入按钮事件?

0 投票
1 回答
657 浏览

android - card.io cannot recognize card

I use card.io sample code at my app, but scanning does not snapping the card, only focused on it. OnActivityResult does not get any data. What can help? Use Asus TF300t.

and onResult

I use 4.0.0 aar, and I does not provide jniLibs (they must be at .aar, I suppose)

0 投票
1 回答
303 浏览

android - Card.io and Braintree Camera Unavailable Exception

When I go to debug my app with a device plugged in, I get this error:

This error just began after adding card.io. From disabling dependencies in build.gradle, I believe that these two are the culprit.

Here are the dependencies in build.gradle:

Please note, I did not include all dependencies in the project.

Anyone have pointers on how to fix this issue?

EDIT

Ended up being Braintree SDK + Card.io SDK (previously I thought ZXing was the culprit). I verified this by creating a new application and only pulling in those two SDKs. Received the same error. When I turned off one or the other, the application ran without error.

Braintree is supposedly removing the Card.io SDK from their build within the next month, so I will just hold-off on implementing Card.io for that time.

0 投票
1 回答
141 浏览

ios - 没有已知的选择器类方法 canReadCardWithCamera

有没有人尝试将最近打开的 card.io ios 源代码拉到您的项目中?我正在尝试在我的 xcode 项目工作区中添加 card.io ios 源项目。在成功添加“Link Binary With Libraries”并给出标题搜索路径后,它仍然抱怨我找不到它的类方法之一。或者请指导如果我仍然缺少任何步骤

0 投票
1 回答
332 浏览

card.io - android phonegap 中的 Card.io sdk,除了信用卡号之外,没有获取任何其他数据

我正在使用 card.io Android PhoneGap SDK,但在获取除信用卡号之外的任何其他数据时遇到了麻烦。我还想获得名称和到期日期。有没有办法在最新的 card.io sdk 中做到这一点?

在 CardIOPGPlugin.js (https://github.com/mudasserajaz12/card.io-phonegap-plugin/blob/b5cb05d502b84e5b4d1bd029ebc7ec81e3134345/www/card.io.js)中,它写在评论中:

//您的响应数组包含这些字段 // redacted_card_number, card_number, expiry_month,expiry_year, cvv, zip

有什么我想念的吗?请指导我,谢谢你的期待。

0 投票
1 回答
540 浏览

card.io - 关于用于字符识别的 card.io 模型的说明

我开始将 card.io 视为 Android 应用程序的一部分,该应用程序应该能够扫描卡并识别卡号、到期日期、持卡人。

挖掘了一段时间后,我找到了 card.io-dmz/models/generated 文件夹,根据开头的评论,我看到了“从模型/conv/...自动生成”的文件。

但是,我无法找到有关用于生成这些“模型”的文件的详细信息。检查代码后,我假设这些生成的文件直接负责卡片中数字的 OCR。

举个例子,下面的卡片被扫描并识别得很好(仅限数字)

浮雕卡

但以下卡失败

非浮雕卡

我尝试在垂直分割完成之前调整 ROI,但我认为两张卡上使用的字体之间的差异使得无法扫描第二张卡。

我的问题是,鉴于当前来自 git hub 的开源项目,是否有人可以添加类似于上面黑色的扫描卡的功能,或者这将需要访问用于执行实际操作的其他资源光学字符识别?