Transformers
ali6parmak commited on
Commit
ffc6bc1
·
verified ·
1 Parent(s): acc26ee

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -0
README.md CHANGED
@@ -140,6 +140,16 @@ When the process is done, the output will include a list of SegmentBox elements
140
  "type": Type of the segment (one of the categories mentioned above)
141
  }
142
 
 
 
 
 
 
 
 
 
 
 
143
  And to stop the server, you can simply use this:
144
 
145
  make stop
 
140
  "type": Type of the segment (one of the categories mentioned above)
141
  }
142
 
143
+
144
+ If you want to get the visualizations, you can use this command:
145
+
146
+ curl -X POST -F 'file=@/PATH/TO/PDF/pdf_name.pdf' localhost:5060/visualize -o 'file=@/PATH/TO/OUTPUT_PDF/pdf_name.pdf'
147
+
148
+ Or with fast models:
149
+
150
+ curl -X POST -F 'file=@/PATH/TO/PDF/pdf_name.pdf' -F "fast=true" localhost:5060/visualize -o ''file=@/PATH/TO/OUTPUT_PDF/pdf_name.pdf'
151
+
152
+
153
  And to stop the server, you can simply use this:
154
 
155
  make stop