X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=blobdiff_plain;f=pctb%2FREADME;h=5f1cea2e7dfe6e6cd67f50e34ff62aaa600faf13;hp=938f0dec190743ff25b3f2e8f118fdc10e2b7ebf;hb=e9825058f1499f656335b3215cc3c79bf0ef4715;hpb=17c06575dcc9063292e20da425fbaa317e34c2c8 diff --git a/pctb/README b/pctb/README index 938f0de..5f1cea2 100644 --- a/pctb/README +++ b/pctb/README @@ -4,7 +4,7 @@ This tool can: - **TODO** upload the results to PCTB To run it, change to this directory, type `make', and then: - ./ypp-commodities >commods.csv + ./ypp-commodities --tsv >commods.tsv It may put up a window asking about characters it does not understand. It is important to get these inputs right or it may misrecognise @@ -16,3 +16,25 @@ error message and circumstances. Also, for recognition problems there will probably be a very useful screenshot file called `#pages#.pnm'. This is likely to be very large so don't just email it to me, but if you can put it up on a webpage for me to download that will help. + +Options available: + + Setting the operation mode: + --find-window-only Just check that we can find the YPP client window. + --screenshot-only Page through and take screenshots, do not OCR + --analyse-only | --same Process previously taken screenshots + --everything (default) Take screenshots and process them + + Options to vary the processing: + --single-page One screenful, no paging - results will be incomplete + --quiet Suppress progress messages + --screenshot-file F Store or read screenshots in F rather than #pages#.pnm + --window-id ID Specified X window is the YPP client - do not search + + Setting the output processing: + --raw-tsv Dump the raw not deduped unsorted OCR'd data + --upload (default) Upload to the PCTB server + --tsv Print data as clean tab-separated-values file + --best-prices Print best buy and sell price for each commodity + --arbitrage Print arbitrage opportunityes +