Hi does anyone know why the photos taken with the ImageCapture api are so bad or how i can fix this?
when i use the takePhoto function it looks like this:
https://i.stack.imgur.com/ruQSn.jpg
(downsampled for upload) but much more grain und way to bright
when i use the grabFrame function (which has a a lower resolution):
the image looks normal.
thes images where taken with https://simpl.info/imagecapture/ on an OnePlus6T but other devices i tested have the same problem.
after trying many thing i fixed the focus with applyConstraints on the video track:
.applyConstraints({
focusMode: 'single-shot',
})
but the image still is to bright and has much grain.
i tried setting exposureMode and exposureCompensation but no change at all.
i realy hope anyone can help me with this....
Related
I am very sorry for the UI of the question, I do not know why images
are so huge. Please accept my apologies.
I am doing a QrCodeScanner with browser's getUserMedia and up to now have got this.
Please do not pay attention to buttons [SCAN QR, STOP QR], the camera is between them.
What I want is something like this
Does anyone know what the way of doing it is?
My client has been asking about a javascript slider with hexagon effect. Something like http://huracan.lamborghini.com/#!/en/gallery (click on a car, then next/previous).
I have been searching the web for a few hours now, but i can't seem to find anything!
Anybody seen this before?
Thanks for your help!
Well, quick google on transitions,javascript and css3 got me to this:
http://www.joelambert.co.uk/flux/
There is an effect named "Blocks2". You might look into the source code of that and adjust it as needed.
Let me know what you think.
I'm not sure whether this is something that is possible in Javascript, I'm fairly sure it will be.
I have a client that sells canvas prints online. They need a solution that will enable customers to firstly select an image, then a color, then a size, and for it all to appear on a 'mock' canvas all on the same page.
This will then proceed to a paypal cart checkout.
Does anybody know of a way to do this, or could point me in the direction of a website that I can walk through this with?
Thanks!
Jonna
This is almost exactly what Fabric.js, as JavaScript canvas library, was originally made for (well, for shirts): http://fabricjs.com
There are a multitude of other libraries that do similar, but the bottom line is that it is very possible. Have a look at Fabric.js, Kinetic.js, easel.js, and start learning!
I was wondering if there is a way to change an image color scale in JavaScript? Say you want to make it warmer or cooler depending upon the user's input. If there is a way in jquery or html5 that would be fine as well. Anyone know how to accomplish something like this?
HTML 5 has lot more features than what you just looking for. Anyhow the CANVAS container is the solution that i could say, where you can play with the color, pixels of image. . Have a look at this this. Hope this can help you to start
Maybe not in jquery itself but there is very cool js library for manipulating images called pixastic.
http://www.pixastic.com/
Try to search documentation for option you need exactly.
My guess is you want to change the saturation. I tried Pixastic but it's broken in my browsers, Chrome, Opera and IE7.
Caman JS looks like it delivers, at least judging from the demo page
http://camanjs.com/examples
On a current project, we want a slideshow on the start page, cycling through the images on a steady pase. So far so good.
But the customer requests a slow zoom on the images between the transitions as well. It's available in Flash and has been used for quite some time, example on the link below:
http://activeden.net/item/xml-zooming-slideshow/9577
But I want this in JS/jQuery.. Does anyone know of a plugin that will do this, or has written one before that could get us started?
All help appreciated!
Best regards
Niclas
That's called the "Ken Burns effect".
See: http://tobia.github.com/CrossSlide/
I don't recommend using any JavaScript implementation of this effect - they all appear to "wobble" unpleasantly in certain browsers.
I hope this will help you
http://andreaslagerkvist.com/jquery/image-zoom/