Comments (10)
This looks like a rather interesting problem because the orientation of an image can be arbitrary and can be decided only based on the content of the image. It would not always mean that the image should be in a Landscape/Portrait mode because the text on the image will determine its orientation.
For this, I suggest that we can use CV to detect a small sample of text on the image(even detecting the orientation of a character might work and make our lives easier). Based on this ,we rotate the image..
Possible issues-
1.Text is aligned both ways on the image.
2.Text is absent.
3.Vertically aligned text.
from openfoodfacts-ai.
@stephanegigandet Can we generate a dataset with a day's worth of selected ingredient pictures ?
from openfoodfacts-ai.
@stephanegigandet It has to be recent pictures, so that many ingredient lists are still poorly rotated.
from openfoodfacts-ai.
@teolemon I have created a small dataset of about 27 images which need rotation for ingredients and nutrition table.
https://github.com/JyotsanaS/off/tree/master/autorotate
from openfoodfacts-ai.
If no one is working on this issue, can I start working on it?
from openfoodfacts-ai.
This problem is similar to this StrackOverflow Question.
Tried the script on bunch of different images provided by @JyotsanaS.
The results are good but it sometimes detects the angle to be negative of the actual value (and vice versa), so the image is sometimes rotated in opposite direction.
from openfoodfacts-ai.
@Anubhav-Bhargava I think using image processing techniques ( non machine learning ) might not perform well on diverse data but I can be wrong here. I think this problem can be better solved using deep learning, I did see some papers on it which I am going to try now, lets see what technique works out better to solve this problem.
from openfoodfacts-ai.
Hi @teolemon if no one is working on this issue i would like to solve this issue?
from openfoodfacts-ai.
@teolemon Implemented in Robotoff, we should discuss how to use this feature in OFF
from openfoodfacts-ai.
@raphael0202 Perhaps in HungerGames ?
from openfoodfacts-ai.
Related Issues (20)
- Use LLMs to create properly formatted taxonomy entries
- Use LLMs to find subcategories for taxonomies
- Use LLMs to create data models for Open Products Facts categories
- Use LLMs to spellcheck/lowercase ingredient lists HOT 1
- Use LLMs to retrieve properties on ingredients/additives
- Use LLMs to generate tweets based on specific categories / tags…
- Use LLMs to generate tweets based on specific categories / tags…
- Use LLMs in Odoo Connect
- Use LLMs in Odoo Connect
- Use LLMs to summarise long texts about Quality Schemes
- Use LLMs to parse a natural language complex meal into foods with nutritional values for nutrition/environment tracking
- Use LLMs to retrieve food wine pairings
- Recognize Nutrition tables using multimodal models (GPT4) HOT 4
- Turbocharge the mobile app using LLMs and Multimodal models
- Use LLMs to extract ingredient lists from raw text HOT 3
- Improve image resolution
- Predict an image crop of nutrition tables HOT 1
- Use LLMs to detect origin of ingredients
- Extract nutrients data from US products nutrients table photos
- Use large language models (LLM) to perform ingredient list spellcheck
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openfoodfacts-ai.