コミュニティ

processMRZ in php code

Right now I'm using processImage Method but i want to use processMRZ Method so please tell me ow i can test or use this in php code..

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

1件のコメント

  • Avatar
    Permanently deleted user

    To process MRZ using our PHP code sample, you can just replace the line

    34 $url = 'http://cloud.ocrsdk.com/processImage?language=english&exportFormat=rtf';
    

    to

    34 $url = 'http://cloud.ocrsdk.com/processMRZ';
    

    and

    143 header('Content-type: application/rtf');
    144 header('Content-Disposition: attachment; filename="file.rtf"');
    

    to

    143 header('Content-type: application/xml');
    144 header('Content-Disposition: attachment; filename="file.xml"');
    

    in the PHP code sample.

    0

サインインしてコメントを残してください。