зеркало из
https://github.com/ssciwr/AMMICO.git
synced 2025-10-30 13:36:04 +02:00
* clean up docstrings * clean up docstrings 2 * temp integration test module * cleaner text sample to analyse * remove clean text and spelling corrections * change ammico exposed interface
14 строки
392 B
Python
14 строки
392 B
Python
import ammico
|
|
|
|
if __name__ == "__main__":
|
|
images = ammico.find_files(path=".")
|
|
mydict = ammico.initialize_dict(images)
|
|
for key in mydict:
|
|
mydict[key] = ammico.TextDetector(
|
|
mydict[key], analyse_text=True
|
|
).analyse_image()
|
|
print(mydict)
|
|
outdict = ammico.append_data_to_dict(mydict)
|
|
df = ammico.dump_df(outdict)
|
|
df.to_csv("data_out.csv")
|