epam / epam/Indigo

Recognize function doesn't return the structure equal to the original image

Open
#718 0 comments 0 reactions 1 assignee Claimed by @even1024 View on GitHub
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Steps to Reproduce:**

1. Call v2/imago/uploads

Parametrs = v2.1-dev1-0-ge78b2cb-linux64
Upload the file formats:
a) *.png
B) *.jpg
[PNG-JPG.zip](https://github.com/epam/Indigo/files/8529977/PNG-JPG.zip)

**Expected behavior:**

- Recognize function returns the structure equal to the original image
- Atoms: S/ P/ N are present in the structure
- Double bond is present in the structure

[structure with atoms and double bond.zip](https://github.com/epam/Indigo/files/8529784/structure.with.atoms.and.double.bond.zip)

**Actual behavior:**

- The structure is returned distorted
- Atoms: S/ P/ N are absent in the structure
- Double bond is absent in the structure

{"state": "SUCCESS", "metadata": {"mol_str": "\n -INDIGO-04212208522D\n\n 12 9 0 0 0 0 0 0 0 0999 V2000\n 2.9591 -0.1793 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 0.5380 -0.2690 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 1.5692 -1.6140 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 0.0897 -1.3450 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 2.7349 -1.4347 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 2.5556 -2.0624 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 0.2242 -2.2866 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 3.5868 -2.4211 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 1.2255 -0.4334 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 0.9864 -1.8532 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 1.2554 -0.9415 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 0.8070 -1.3226 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0\n 5 6 1 0 0 0 0\n 1 9 1 0 0 0 0\n 2 9 1 0 0 0 0\n 8 10 1 0 0 0 0\n 7 10 1 0 0 0 0\n 9 11 1 0 0 0 0\n 3 11 1 0 0 0 0\n 11 12 1 0 0 0 0\n 4 12 1 0 0 0 0\nM END\n"}}

Version 1.6.5.0-g0e5aaceee-wasm32-wasm-clang-13.0.0

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.