Skip to main content
johnrellis
Legend
December 31, 2019

P: SDK: catalog:findPhotos() criterion "depthMap" doesn't work

  • December 31, 2019
  • 2 replies
  • 172 views

The boolean criterion "depthMap" for catalog:findPhotos() doesn't work. It always returns an empty array, for both "isTrue" and "isFalse".





This topic has been closed for replies.

2 replies

johnrellis
Legend
April 26, 2021

Not a bug after all. There's a missing operand "value = true" -- it should be:

catalog:findPhotos {searchDesc = {
    criteria = "depthMap", 
    operation = "isTrue", 
    value = true}}

It's not documented, but all criteria with the "isTrue" and "isFalse" operations require "value = true".

Sunil_Bhaskaran
Inspiring
January 2, 2020
Thanks for letting us know, John.
We will look into this.

Thanks,
Sunil