Discover and explore top open-source AI tools and projects—updated daily.
SanotsuFood composition data extraction and conversion
Top 93.6% on SourcePulse
This repository provides processed data from the "Chinese Food Composition Table Standard Edition (6th Edition)," specifically focusing on energy, general nutritional components, and glycemic index (GI). It offers structured JSON datasets derived from scanned tables, intended for developers needing reliable food data for applications such as fitness trackers or nutritional analysis tools. The project offers two processing pipelines: one using traditional OCR and another leveraging advanced vision-language models (LLMs).
How It Works
The project offers two primary methods for data extraction and conversion. The first method, index.py, utilizes PaddleOCR to convert table screenshots into Excel files, which are then processed into a specified JSON format. The second, and preferred, method (index_vision_llm_processor.py) employs vision LLMs, such as Qwen2.5-VL-72B-Instruct, to recognize table data directly into Markdown format before generating JSON. This LLM-based approach is noted for yielding superior results compared to traditional OCR, though it is more computationally intensive.
Quick Start & Requirements
python3 index.pypython3 index_vision_llm_processor.py.env file.json_data and json_data_vision folders to bypass processing.Highlighted Details
Maintenance & Community
No specific information regarding maintainers, contributors, community channels (like Discord/Slack), or project roadmaps is present in the provided text.
Licensing & Compatibility
The repository does not explicitly state a software license. However, it notes that "All copyrights belong to the original author," suggesting that usage, especially for commercial purposes, may require explicit permission from the copyright holder.
Limitations & Caveats
The accuracy of the automated recognition (both OCR and LLM) is not guaranteed, and users are advised that data may not be absolutely consistent. The vision LLM processing can be computationally expensive and time-consuming. The lack of a clear license and the assertion of copyright ownership by the original author may impose restrictions on the use and redistribution of the data.
7 months ago
Inactive
google
databricks
NVIDIA