<commit_before>const eto = require('./../index.js');

console.log("\n-- test case 5: live OCR at specified location(rectangle) (chinese) --")
eto.scan({
	imagePath: {
		x: 0,
		y: 200, 
		width: 500, 
		height: 100
	},
	//compare: "測試",
	trainedData: "chi_tra",
	reservedSample: false
})
.then(function (text) {
	console.log("[result]\n", text);
})
.catch(function (err) {
	console.error(err);
});<commit_msg>Period commit.<commit_after>const eto = require('./../index.js');

console.log("\n-- test case 5: live OCR at specified location(rectangle) (chinese) --")
eto.scan({
	imagePath: {
		x: 65,
		y: 134, 
		width: 369, 
		height: 234
	},
	//compare: "測試",
	trainedData: "chi_tra",
	reservedSample: false
})
.then(function (text) {
	console.log("[result]\n", text);
})
.catch(function (err) {
	console.error(err);
});
{'fraction_non_alphanumeric': 0.21097560975609755, 'fraction_numerical': 0.02804878048780488, 'mean_word_length': 3.9161676646706587, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6222068', 'n_tokens_mistral': 345, 'n_tokens_neox': 313, 'n_words': 73}