Reusable HTML Editors for Labelbox
This respository has one folder for each custom HTML editor for Labelbox.
This HTML editor allows a labeler to easiy compare two shopping cart listings side by side to determine if they pertain to the same product in their product catalog. The side by side comparison makes the structure of two listings identical, eliminating any labeler bias in judgement that may confuse when two listings are for the same product.
Configured by providing a JSON payload that dynamically generates the listing.
- Designed to work within the core Labelbox editor capabilities, no app hosting required
- HTML Template does not require dev of a custom editor
- No external libraries or vulerabilities required
- Easy to concatenate creating one HTML file per data row during pre-processing
- Supports dynamic number of carousel images or listing detail: JSON drives dynamic HTML content
- Responsive design allows flexible screen sizing to lay inside Labelbox Editor
- Can be secured if necessary by whitelisting the stable IP for your workforce team
- Edit the listings JSON variable with two listings
- Go to Labelbox Catalog and create a new dataset via the UI
- Click "Choose files to upload" and upload the .html file
- In Annotate, click "+ new project" and for "Type of data to be labeled" select "Text"
- In the project, click "Queue data for labeling" and select the datarow(s) and then "Send data row" as a batch to project
- Download single html file to your machine
- Open Terminal.
- Navigate to folder with HTML file
- Start a web server at command line with 'python -m http.server'
- Open browser to localhost:8000