How to use Capture Image element and Task in vDesigner

Is there any information available about the parameters of Image capturing?

4 Likes

Capture Image: This element is used to capture the image.
Roadzen Camera This element was implemented for Roadzen Technologies. Roadzen camera is a complete software development kit that is used to capture images. The property sheet of the Roadzen camera contains a few dedicated properties, which are mentioned as below:

  • Doc Id

In this box, enter the unique ID that denotes the type of document which image you want to capture. On the database level, the doc id is internally defined and denotes specific document type.

  • Compression Required

Click this list to select Yes if you want to compress the content of the document before it is sent for the print job.

  • Image Destination

Click this list to select any of the following values:

  1. Table

Select this option if you want to store the image locally in base64 format.

  1. File

Select this option if you want to store the image locally in file format. The image is stored in the default location of the Android phone.

  1. Document

Select this option if you want the Roadzen camera to pick the existing document of the image from the local storage location and then capture it.

  • Default Camera

Click this list to select front camera or back camera as default camera.

  • Camera Template Id

Click this list to select the section of the document that you want the Roadzen camera to capture. For instance: - In this list, if you select Passport Size Photograph, the Roadzen Camera will capture the passport size photo from the document.

If you do not select any value, the Roadzen camera uses the Normal value as default template ID. With the Normal template Id, the Roadzen camera captures the entire image.

  • Keep Deleted Image

Click this list to select Yes if you want the Roadzen Camera to delete the local copy of the image after the image is capture, or select No.

  • Max Image Allowed

In this box, enter the maximum number of pictures that you can take from the Roadzen camera at a given point of time.

  • Resolution

In this box, enter the resolution of the captured image in the following format:

Height of image in pixel unit*Width of image in pixel unit

(For example:- 720*1280)

  • Image Count Ass Attribute Id

In this box, enter the path of the location where you want to display the count images after the user captures the image.

  • Image Size (Kb)

In this box, enter the maximum size of the image that the Roadzen camera can capture.

  • File Extension

In this box, enter the extension of the image file that you want the Roadzen camera to capture. You can configure the camera to capture the image with JPEG and PNG file formats.

  • File_Prefix

In this box, enter any prefix value that you want to use as prefix to the default file name of the capture after the image is captured.

  • DOC_BUNDLE_ID_ATTR

In this box, enter the bundle ID attribute that is internally used to consolidate several document types in a logical bundle or container.

3 Likes