#Imagemagick resize manual#
They've had to do a lot of manual labeling in the past. They're using a large set of images that have been collected from cameras in the wild. So another cool thing of the week is that the Zoological Society of London has teamed up with Google, and they're using the Cloud AutoML Vision tool API that we released, and they're doing basically facial recognition on endangered species. No, I really like that about the platform, too. Yes, and it's also nice that it's analysis tool agnostic. So I'm actually really excited about OpenCensus, so I can't wait to have them on the episodes.
#Imagemagick resize code#
So you can see some code and some of the stuff that people are writing to use it with. We should have them on the podcast soon.īut we will link to the announcement blog post that has some really pretty pictures about what can be done with it, as well as a Medium publication that is coming out of the community from- I'm going to hope I get this right- Daz Wilkin, talking about using OpenCensus with Prometheus and Stackdriver as well. It's an open source project that is meant to be a trace and metrics open source tool that will work with a variety of backends and stats providers and tracing things, like Zipkin or Prometheus or Stackdriver, and a bunch of other ones as well. We've probably talked about this a little bit in some previous episodes, or at least those types of things in previous episodes, but this is actually really cool. I wanted to definitely bring up a project that was announced recently on the Google Open Source blog, a project called OpenCensus, which is a stats collection and distributed tracing framework. Yeah, let's talk about cool things of the week. So before we get into that, let's talk about cool things of the week. We're going to talk about if you wanted to know what the news is of the week, there's a nice summary round-up, and we're going to point you to where that is. We're going to be talking to Mike, who's the co-founder and CEO of Percy.io, and they are doing visual diffs.īut as always, before we get into that, we're going to do cool things of the week, and we're going to have a question at the end of the week- at the end of the week? At the end of the actual talk. We've got a good podcast for us this week. Google Cloud Platform Pricing Calculator site.Cloud Dataflow and the Tram Challenge youtube.London Zoo trials facial recognition technology to help track elephants in the wild blog.OpenCensus: A Stats Collection and Distributed Tracing Framework blog medium.Sometimes, he even enjoys things that don’t involve computers at all, including rock climbing, coffee, classical singing, and scuba diving. Mike has previously worked as an engineer at companies including Google, Science Exchange, and AltSchool, and is now enjoying building his first company from the ground up.
Mike is Co-Founder and CEO of Percy, where he is working on problems at the intersection of design, development, and deployment. To develop Percy, the platform for continuous visual reviews for web apps. Mark and Melanie to discuss how they use Google Cloud Platform $ import -window "$(xdotool getwindowfocus -f)" /tmp/$(date +%F_%H%M%S_%N).We return once again to Continuous Integration tooling, this time with a visual spin. Import -window "$activeWinId" /tmp/$(date +%F_%H%M%S_%N).pngĪlternatively, the following should work regardless of EWMH support:
To avoid overwriting previous screenshots, the current date is used as the filename.ĪctiveWinLine=$(xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)") It works with EWMH/NetWM compatible X Window Managers. The following script takes a screenshot of the currently focused window.
Import -window root -crop $x$h+$x+$y head_$i.png Xdpyinfo -ext XINERAMA | sed '/^ head #/!d s///' | As long as Xinerama information is available from the X server, the following will work: In this case, you may want to take screenshot of each physical screen individually. If the physical screens are different in height, you will find dead space in the screenshot. Xinerama-based multi-head setups have only one virtual screen. Import -window root -display :0.1 -screen /tmp/1.pngĬonvert +append /tmp/0.png /tmp/1.png screenshot.png Import -window root -display :0.0 -screen /tmp/0.png If you run twinview or dualhead, simply take the screenshot twice and use imagemagick to paste them together: Note: If you prefer graphicsmagick alternative, just prepend "gm", e.g.