Get Started         Best Practices         Developer Guide         FAQ        
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Get collection from SDK IOS

Maksim Mar 18, 2018

Hey. I created the collection on Cloud (token: b7c71ca58e5e490d). When I try to get it:

var coll: CraftAROnDeviceCollection!
do {
coll = try CraftARCollectionManager.shared (). getCollectionWithToken ("b7c71ca58e5e490d")
} catch {
print (error.localizedDescription)

print (coll)

I get the error "There is no collection with the 'b7c71ca58e5e490d' token."

PS Language - Swift IOS

( Agent )
Esteve Torrents

Mar 19, 2018

Hello Maksim,

We first need to know if you are trying to do cloud image recognition or on device image recognition. If you want to do on device image recognition, you first need an on device collection. Your collection with the token ‘b7c71ca58e5e490d’ is for cloud recognition that is why you get this error. To see how to create on device collections check the following tutorial:

If what you want is the cloud recognition your collection is ok, but then you have to use the cloud image recognition and not the collection manager. To see how to use Cloud Image Recognition on iOS with CraftAR check the following link:


Catchoom Support Team

0 rated

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Couldn't find what you were looking for?
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found