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

CraftARSearchResult BoundingBox is empty all 0's

Chris Allick Jan 11, 2018

according to the header files and documentation the bounding box should contain the position of the marker in the recognized image, but im just getting 0's.

I'm using the cloud image recognition and objective-c. Below is a snippet of where I'm trying to retrieve the bounding box and getting 0's.

- (void) didGetSearchResults:(NSArray *)results {
//NSLog(@"%@",results);

if ([results count] >= 1) {
[mSDK stopCapture];
CraftARSearchResult *result = [results objectAtIndex:0];
BoundingBox *box = result.matchBoundingBox;


( Agent )
Luis Martinell

Jan 17, 2018

Hi,

There is a property of the CraftARCloudRecognition class that needs to be set in order to get the bounding box:

https://catchoom.com/wp-content/themes/catchoom/sdk-ir/ios/interface_craft_a_r_cloud_recognition.html#a50d8fd5d4d0bbdae65931bf718d34412

Best regards,
Luis

0 rated

Post Your Public Answer

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

Couldn't find what you were looking for?

support@catchoom.com
https://cdn.desk.com/
false
catchoom
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete