How do I ask the Vision API to apply multiple features on an image -
how call vision api , apply more 1 feature on image. want apply both label detection , landmark detection on image
you can define request below incorporate multiple feature requests per image
"requests":[ { "image":{ "content":"/9j/7qbeughvdg9zag9...image contents...fxnwzvdeeyxxxzj/coa6bax//z" }, "features":[ { "type":"face_detection", "maxresults":10 }, { "type":"label_detection", "maxresults":10 } ] }
] }
Comments
Post a Comment