We allow searching continuously for matches while the user just points (or tosses) the camera around – we call it Finder Mode. You can read about the Finder Mode and our Single Shot Mode in this article.
How can I limit the number of searches per second during Finder Mode?
You can do it through the CraftARCloudRecognition interface.
- On Android
1
2
|
CloudSearchController cloudSearchController = (CloudSearchController) mCloudIR.getSearchController();
cloudSearchController.setSearchPeriod(500);
|
- On iOS:
1
|
[[CraftARCloudRecognition sharedCloudImageRecognition].mSearchController setSearchPeriod: 500];
|
The search period is expressed in miliseconds and the minimun period is 500ms, this is, a maximum of two search queries per second.
Comments
0 comments
Article is closed for comments.