Skip to content

DECIMER: Deep Learning for Chemical Image Recognition using Efficient-Net V2 + Transformer

License

Notifications You must be signed in to change notification settings

alexey-krasnov/DECIMER-Image_Transformer

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

334 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงช DECIMER Image Transformer ๐Ÿ–ผ๏ธ

Deep Learning for Chemical Image Recognition using Efficient-Net V2 + Transformer

DECIMER Logo

License Maintenance GitHub issues GitHub contributors tensorflow Model Card DOI Documentation Status GitHub release PyPI version fury.io


๐Ÿ“š Table of Contents


๐Ÿ“ Abstract

The DECIMER 2.2 project tackles the OCSR (Optical Chemical Structure Recognition) challenge using cutting-edge computational intelligence methods. Our goal? To provide an automated, open-source software solution for chemical image recognition.

We've supercharged DECIMER with Google's TPU (Tensor Processing Unit) to handle datasets of over 1 million images with lightning speed!


๐Ÿ’ก Method and Model Changes

๐Ÿ–ผ๏ธ Image Feature Extraction

Now utilizing EfficientNet-V2 for superior image analysis

๐Ÿ”ฎ SMILES Prediction

Employing a state-of-the-art transformer model

๐Ÿš€ Training Enhancements

  1. ๐Ÿ“ฆ TFRecord Files - Lightning-fast data reading
  2. โ˜๏ธ Google Cloud Buckets - Efficient cloud storage solution
  3. ๐Ÿ”„ TensorFlow Data Pipeline - Optimized data loading
  4. โšก TPU Strategy - Harnessing the power of Google's TPUs

โš™๏ธ Installation

# Create a conda wonderland
conda create --name DECIMER python=3.10.0 -y
conda activate DECIMER

# Equip yourself with DECIMER
pip install decimer

๐Ÿš€ Usage

from DECIMER import predict_SMILES

# Unleash the power of DECIMER
image_path = "path/to/your/chemical/masterpiece.jpg"
SMILES = predict_SMILES(image_path)
print(f"๐ŸŽ‰ Decoded SMILES: {SMILES}")

โœ๏ธ DECIMER - Hand-drawn Model

๐ŸŒŸ New Feature Alert! ๐ŸŒŸ

Our latest model brings the magic of AI to hand-drawn chemical structures!

DOI


๐Ÿ“„ Citation

If DECIMER helps your research, please cite:

  1. Rajan K, et al. "DECIMER.ai - An open platform for automated optical chemical structure identification, segmentation and recognition in scientific publications." Nat. Commun. 14, 5045 (2023).
  2. Rajan, K., et al. "DECIMER 1.0: deep learning for chemical image recognition using transformers." J Cheminform 13, 61 (2021).
  3. Rajan, K., et al. "Advancements in hand-drawn chemical structure recognition through an enhanced DECIMER architecture," J Cheminform 16, 78 (2024).

๐Ÿ™ Acknowledgements

  • A big thank you to Charles Tapley Hoyt for his invaluable contributions!
  • Powered by Google's TPU Research Cloud (TRC)


๐Ÿ‘จโ€๐Ÿ”ฌ Author: Kohulan


๐ŸŒ Project Website

Experience DECIMER in action at decimer.ai, brilliantly implemented by Otto Brinkhaus!


๐ŸŽ“ Maintained by the Kohulan @ Steinbeck Group

Cheminformatics Group

Natural Products Cheminformatics Research Group
Institute for Inorganic and Analytical Chemistry
Friedrich Schiller University Jena, Germany


โญ Star History

Star History Chart


๐Ÿ“Š Project Analytics

Repobeats

Made with โค๏ธ and โ˜• for the global chemistry community

ยฉ 2025 Kohulan @ Steinbeck Lab, Friedrich Schiller University Jena

About

DECIMER: Deep Learning for Chemical Image Recognition using Efficient-Net V2 + Transformer

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 100.0%