A new input format for DECIMER predict_SMILES function as numpy array representing the image allows us to connect the output from DECIMER-Image-Segmentation
raw_segments = segment_chemical_structures_from_file(file_path='path_to_image_file', expand=True, visualization=False)
for segment in raw_segments:
smiles = predict_SMILES(image_path=segment)
A new input format for DECIMER predict_SMILES function as numpy array representing the image allows us to connect the output from DECIMER-Image-Segmentation