Comments (8)
I found scrollbars earlier in data.zip but not when i am downloading images while now, 1st image is by chrome and the 2nd one is with firefox.
whether this issue is already resolved?
from autowebcompat.
@amit2rockon I am pretty sure many of the settings of browsers are system dependent. For me images are not coming same in size.
from autowebcompat.
I was checking out the dataset,
Since the content is same irrespective if scrollbar is visible or not, we could simply scale the larger image to the size of smaller one, once we removed the scroll bar. But seeing these images, the firefox has complete page while chrome has only first screen with scroll bar. So should we need to crop the firefox images as well depending upon the chrome's view ?
from autowebcompat.
Since the content is same irrespective if scrollbar is visible or not, we could simply scale the larger image to the size of smaller one, once we removed the scroll bar.
Instead of scaling, it would be more precise if we could get the same screenshot sizes directly. If we can't do that, I guess scaling would be an acceptable fallback solution.
But seeing these images, the firefox has complete page while chrome has only first screen with scroll bar. So should we need to crop the firefox images as well depending upon the chrome's view ?
This happens sometimes, but I think it's a problem of the screenshotting. We simply need to crop the image to the usual size in those cases.
from autowebcompat.
Some solutions to remove the scrollbars at the source are described here: https://stackoverflow.com/questions/9449562/how-to-remove-scrollbar-in-chromedriver-how-to-change-http-agent. I think the --hide-scrollbars
one doesn't work anymore, as the flag has been removed. The second solution might work, but I wonder if it could cause other issues.
Another possible solution is to use mobile emulation for Chromium: https://sites.google.com/a/chromium.org/chromedriver/mobile-emulation.
The last possible solution I see is to cut the scrollbar from the screenshots.
from autowebcompat.
It looks like --hide-scrollbars
was added back (only when in headless mode): chromium/chromium@d71fc50.
from autowebcompat.
We should now make sure the screenshots are the same in size. Maybe we need to collect them in a VM or something like that to make sure everyone is collecting the sime size. Or maybe we can find another way to ensure it.
from autowebcompat.
#184 might fix this.
from autowebcompat.
Related Issues (20)
- Sort labels when saving them
- test_labels should validate all labels files
- test_labels.py is not actually testing the screenshots actually exist HOT 3
- Limit size of full page screenshot HOT 4
- Script to rename images and labels according to new convention
- Implementing Object Segmentation networks for bounding box annotations HOT 1
- Throw a meaningful error in utils.read_labels when labels.csv is empty HOT 2
- Running pretrain.py gives FileNotFoundError. HOT 4
- Try training a neural network using the responses from a DOM-based tool as features
- Try using the responses from a DOM-based tool as additional features
- Create a web-based tool to show predicted differences HOT 2
- Move the labeling tool to be web-based
- Use multiple releases of each browser
- Try using mdn/browser-compat-data to automatically label screenshot pairs
- Investigate training a model to detect regressions in a browser
- When prefilling an issue on webcompat.com, prefill as much as possible
- Add possibility to navigate to websites on demand
- Use Docker to run browsers and collect screenshots
- Train a baseline classifier HOT 12
- Out of memory error while training vgg16 and vgg19 with imagenet weights on Colab
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 autowebcompat.