Nodejs line by line

I am trying with nodejs. its fine and no problem but i want to result line by line same on front page.
var options = {

    apikey: 'mykey',

    language: 'eng', // Português

    imageFormat: 'image/jpg', // Image Type (Only png ou gif is acceptable at the moment i wrote this)

    isOverlayRequired: true,

    isTable: true

};

const imageFilePath = “./data/under/receipt-ocr-original.jpg”;
ocrSpaceApi.parseImageFromLocalFile(imageFilePath, options)

    .then(function (ocrParsedResult) {

console.log(ocrParsedResult.parsedText); // result still not showing line by line please help me
})

Hi, what do you mean with line by line? How does it look now?

Does the result look ok when testing with the online ocr form or Postman?

Thanks to reply.
I am trying with the following image from locally.


Result showing first labels then values not showing like table format.

It sounds like you’re not sending isTable=true in the call correctly. Not familiar w/ nodejs syntax though

please see into my code i am sending that isTable: true

the result is look like

Walmart
Save money. Live better.
( 330 ) 339 -
3991
MANAGER DIANA EARNEST
231 BLUEBELL DR SW
NEW PHILADELPHIA OH 44663
02115 009044 44
01301
PET TOY
FLOPPY PUPPY
SSSUPREME S
Z . 5 SQUEAK
MUNCHY DMBEL
DOG TREAT
PED PCH 1
PED PCH 1
COUPON 23100
1–INYMD SMORES
FRENCH DRSNG
3 ORANGES
BABY CARROTS
COLLARDS
CALZONE
MM RVW MNT
STKOBRLPLABL
STKOBRLPLABL
STKO SUNFLWR
STKO SUNFLWR
STKO SUNFLWR
STKO SUNFLWR
BLING BEADS
GREAT VALUE
LIPTON
DRY DOG
TAX
US DEBIT
004747571658
004747514846
070060332153
084699803238
068113108796
007119013654
002310011802
002310011802
052310037000
088491226837
004132100655
001466835001
003338366602
1
000000004614K1
005208362080 F
003399105848
001558679414
001558679414
001558679410
001558679410
001558679410
001558679410
076594060699
007874203191 F
001200011224 F
002310011035
1
SUBTOTAL
6.750
TOTAL
VISA TEND
5
12 .
9166
1.97
1.97
4.97
5.92
3.77
2.92
0.50
0.50
1.00-0
3.98
1.98
.47
1.48
1.24
2.50
19.77
1.97
1.97
0.97
0.97
0.97
0.97
0.97
9.97
4.48
44
93.62
4.59
98.21
98.21
1
x
x
x
x
x
x
x
x
o
o
o
x
x
x
x
x
x
x
x
o
x
x
o
APPROVAL # 572868
REF # 720900544961
TRANS ID
387209239650894
VALIDATION - 87HS
PAYMENT SERVICE
AID A0000000980840
TC 51319CA81DCZ2BC7
TERMINAL # sc010764
*Signature ver ified
07/28/17
02 : 39 : 48
CHANGE DUE

ITEMS SOLD 25

0443 0223 1059 8001 5140
LOW
ices you can Trust .
Every
0.00
Day .
07/28/17
02 : 39 : 48

It seems something is wrong with your api call, and the isTable=true receipt ocr flag is not received by the api. => Did you test in Postman? Does it work there?

You probably know it, but just in case: Postman is a free Chrome app, see https://ocr.space/ocrapi#postman

If you see the problem even with Postman, a screenshot of the result could be helpful.