Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Get Document Type using Nodejs #33

Unanswered
felipe-muner asked this question in Q&A
Discussion options

Hello folks, thank you so much in advance for your effort...

I have been processing documents and everything is going great. I like using Regula and currently I'm using the following code:

image

import { Context } from '../Context'
const configurationProviderService = require('../services/configurationProviderService')
class RegulaForensicsDocumentReaderService {
 public async processDocument({ documentImages }: { documentImages: string[] }, context: Context): Promise<Response> {
 const processed = await this.regulaForensicsDocumentReaderService(context).process({ images: documentImages })
 console.log(processed)
 return processed
 }

I changed as the answer in this previous discussion number 29. I'm not sure if I need to do something else...

image

And I have something as the response below:

image

I even stop the service and restart it, I have not idea about what I need to change now...

What am I missing?

I've tried passing the processParam as well.

image

As we have it for C# we can have it here as well for JS developer. We know there will be more people asking the same :)...

Cheers =)

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /