Opening the image file C:\Scan\Image.tif and saving it as a text file including any recognised barcodes as C:\Scan\Text.txt can be achieved with:
ocrcon "C:\Scan\Image.tif" "C:\Scan\Text.txt" /barcode