You are viewing limited content. For full access, please sign in.

Question

Question

Laserfiche AI with photos

asked on February 12

I was working with a client reviewing Laserfiche AI capabilities, and they were wondering when or if Laserfiche plans to add the capability to add a photo to Laserfiche then the AI would generate information about the photo (could be event, people, or specific items). Or if there is an integration that can perform this functionality? 

0 0

Answer

SELECTED ANSWER
replied on February 12

Hi Keisha,

While not a native feature, you can do this as an integration with a 3rd party AI service like Amazon Rekognition (Azure AI Vision Image Analysis is another). You would use Laserfiche's HTTP web request integration capability to send the image to the image recognition API and then receive the output of identified objects/topics/people/etc. (broadly called "labels" or "features").

Once you have the output, you can have a Laserfiche Workflow automatically assign the identified labels to the photo entry as metadata fields, which users can view and search.

Here is an example API response from AWS Rekognition about detecting a mobile phone in an image:

"Labels": [
        {
            "Name": "Mobile Phone",
            "Confidence": 99.99717712402344,
            "Instances": [],
            "Parents": [
                { 
                "Name": "Phone" 
                }
             ],
            "Aliases": [
                {
                "Name": "Cell Phone" 
                }
             ]
        }
 ]    
            

You can have Laserfiche Workflow read that response, then assign some or all of "Phone", "Mobile Phone", and "Cell Phone" to the image entry metadata in the Laserfiche repository.

Hope that helps. If you have more specific details on the use case, we may be able to provide more information.

0 0
replied on February 14

Can workflow access pictures in Laserfiche?

0 0
replied on February 14

"Pictures" are just image pages. You might need to get the page(s) with an SDK Script activity, but that code is simple, and you probably need a Script anyway to encode (Base64 etc.) the image file for the call to the image recognition API.

0 0
replied on February 14

Got it, I have been converting to base64 with JS but was not sure if there was a better way to get the picture without script.

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.