OCR in Sage Maker - amazon-web-services

Guys i am trying to build infrastructure on aws for getting help from others on annotation. currently we uses label-studio for text annotation. as might know you can label text by selecting through polygon and than writing what does selected area mean. ex: if polygon is made around english word than what writing out label of it to annotate that given english word. for more see image below.
How can i do this in SageMaker Ground Truth. as far as i have gone i think it can just label pre defined words. you cant create custom label in it by selecting any given area using polygon in image am i right ?

Unfortunately LS doesn't support changing of labels on the fly.

Related

How to move list item given source index and destination index with animation in flutter

I am building a leaderboard screen in the flutter application, whenever the user comes to the leaderboard screen, I want to show the animation of his old position to a new position in the leaderboard, so I need an animation of this row to go up or down based on his standings, please someone help me which widget to use to get this functionality working. Thanks
AnimatedList is the widget you are looking for. It automatically generates entrance and exit animation when items are added/deleted. Combined that with SizeTransition, and you will get a nice "growing/shrinking" effect.
There are some really good examples (and even a video tutorial) on the official docs as well.
You can also look at this answer for a more complex example of using 2 of them.

Chart.js scatter/bubble pointstyle custom text

I'm looking for a solution in which custom text is rendered instead of a point for a scatter or bubble diagram using chart.js. For example, if plotting baseball players' batting average vs slugging percentage, I want the player's name to appear centered horizontally and vertically over the underlying x,y coordinate, such as 'MANTLE' or 'RUTH', instead of the typical dot/square/triangle/bubble pointstyles. I noticed a callback function lets me program custom axis labels, but I need to do something similar for the actual point of the graph.
If this is not possible, can you recommend another library that can do this.
Thank you in advance...
chartjs-plugin-datalabels does what you're looking for. The positioning of the labels is largely customizable. A custom label formatter function for example lets you display text other than the data values.
Please take a look at the chartjs-plugin-datalabels samples, especially at Custom Labels.
Keep in mind that this plugin registers itself globally, meaning that once imported, all charts will display labels. In case you want it enabled only for a few charts, you first need to unregister it globally. Then, you can enabled the plugin for specific charts.

how to make title in TOCropViewController CocoaPod?

I need to add a title bar named "Crop Image" in this Cocoapod.
Please help me
I'm the developer of TOCropViewController. :)
There's no feature in the library at the moment to display text above the cropping content right now. But it would be fairly trivial to add a UILabel to the view and position it near the top of the view.
The challenge is that you'd then need to account for it when the device is rotated sideways. At the moment, the cropping content will fill the entire height of a horizontal device, so you'd need to override that to account for the text.
It's been a while since I wrote it, but I did include a property in the vertical layout code to add padding to the top of the view controller, so it SHOULD be relatively easy.
I sadly don't have time to add it myself, but I made an issue on the repo and added the pr requested tag. Hopefully someone with more free time than I do can add it. :)

codename one - no way to set background image in list

I am new to codename one and I have tried for one and half day to fix my issue of,
a list with background image in each row.
Let me explain, I am having a list with some items(entries), I created renderer and name it appropriately. I set background correctly which is reflecting in designer (see image)
but when I run it on simulator/device , all formatting and designs are just invisible..!! (see red arrow pointing to simulator in image)
anyone have any idea ? why this is happening ?
Thanks,
Akash
It seems you didn't set the background correctly in the designer. Since the list items in the model within the designer are strings the renderer entries don't get overriden and so you see a separate UI.
To reproduce the issue in the designer click the items entry in the list property, remove everything and add a sample key/value hashtable pair. You would see all your design entries disappearing.
This might help you understand how to customize images and backgrounds here: http://www.codenameone.com/3/post/2013/12/deeper-in-the-renderer.html

C++ builder - clickable map of europe in TForm

I would like to have an image of europe in a TForm or TPanel where each country can simulate the functionality of a button. I would also like to be able to change the colour of each country dynamicaly.
Does anyone know if this is possible to do in C++ Builder?
Any examples or help much appreciated.
Thanks
It is possible.
One quick solution assuming that your image is NOT scaled.
Have a second image similar with the Europe map where each country will have a unique color.
At OnMouseMove of the panel where the image is read the position in regard with Europe map (the image) and get the value of the pixel on the other image - using Timage->Picture->Bitmap->Canvas->Pixels[x][y], so you will get the country or any other info you maybe set.
Using the same method you can tell what pixels are regarding to a country and do a replacement.
This is a quick workaround, there are MANY other ways possible, like overlays of images (multiple TImage controls).