Home

Awesome

<img src="images/pixano_logo.png" alt="Pixano" height="100"/>

License Live Demo Published on npm

<!--[![Node.js CI](https://github.com/pixano/pixano-elements/workflows/Node.js%20CI/badge.svg)](https://github.com/pixano/pixano-elements/workflows/Node.js%20CI/badge.svg)-->

What is PIXANO ?

Pixano is a web-based smart-annotation tool for computer vision applications. The modules are driven by artificial intelligence, which assists the human user with annotation tasks and accelerate the annotation process. Try some of our features online!

pixano.gif

Pixano Elements

Pixano Elements - Library of web components dedicated to data annotation tasks.

Alt text

Have a look to our online demos !

Beside Pixano elements, a complete and ready-to-use annotation application is available at https://github.com/pixano/pixano-app.

IMPORTANT: The Pixano Web Components are a work in progress and subject to major changes until 1.0 release.

Automatic build tests on Ubuntu (latest) and node version 10, 12, 14.<!-- TODO: is it still true ? => verify -->

Table of content

Components overview

The Pixano Elements are divided into packages. Each package can be installed independantly from NPM using the following command:

npm install @pixano/graphics-2d

Each package can contain multiple web components which are grouped by affinity.

ComponentStatusDemo
<pxn-classification>Published on npmdemo
<pxn-rectangle>Published on npmdemo
<pxn-polygon>Published on npmdemo
<pxn-segmentation>Published on npmdemo
<pxn-keypoints>Published on npmdemo
<pxn-tracking>Published on npmdemo
<pxn-tracking-graph>Published on npmdemo
<pxn-smart-rectangle>Published on npmdemo
<pxn-smart-segmentation>Published on npmdemo
<pxn-smart-tracking>Published on npmdemo
<pxn-cuboid-editor>Published on npmdemo

Requirements

Pixano requires WebGL to be activated in your browser. If you see the following error in you console WebGL unsupported in this browser, please activate it.

For development, you will only need Node.js installed in your environement.

For a fresh install, please follow our guide to install it on your system:

If the installation was successful, you should be able to run the following command:

node --version
# v10.19.0

npm --version
# 6.10.0

Build and run the overall demo

An online serverless demo is available on our dedicated website.

If you want to build the latests version, it's easy:

git clone https://github.com/pixano/pixano-elements.git
cd pixano-elements
npm run deps
npm run build
npx serve demo

Documentation

📚 Check out the TypeDoc documentation. Each package's usage and API is also documented:

You can also try the demos on our website.

How to contribute ?

Getting started

To create a new component, check our tutorial.

Please follow our coding guidelines for your contributions.

About the contribution process

The contribution process follows this well-known diagram :

diagram-pull-request.png

First time:

Fork and clone

  1. Fork this project

    Click on the Fork button

  2. Clone the fork on your local machine

	git clone git@github.com:$YOURLOGIN/pixano-elements.git
	# OR
	git clone https://github.com/$YOURLOGIN/pixano-elements.git
	# go to code
	cd pixano-elements
  1. Add the original repository as a remote called upstream
	git remote add upstream git@github.com:pixano/pixano-elements.git
	# OR
	git remote add upstream https://github.com/pixano/pixano-elements.git

First run

  1. Install dependencies and build the project
cd pixano-elements
npm run deps
npm run build
  1. Run the demo locally:
npx serve demo

Modify and test the code

  1. Check that you are on the right branch and pull upstream changes into your local repository if necessary
	git checkout master
	git pull upstream master
	#If needed: merge
	#If needed: git push origin master
  1. Create a new branch to work on
	git checkout -b $MY_BRANCH_NAME
  1. Implement/fix your feature, comment your code.

  2. Test your modifications locally using the serverless-demo

	npm run build
	npx serve demo

This demo takes your local modifications into account, thanks to a bootstrap step.

If you modified the dependencies, you better clean the project before rebuilding:

	npm run clearall
	npm run deps
	npm run build
	npx serve demo

Create a pull request

  1. Add or change the documentation as needed.
  2. Commit your modifications using meaningfull comments.
  3. Push your branch to your fork
	git push origin $MY_BRANCH_NAME
  1. On github, open a pull request from your fork in the correct branch.

    A green button "Compare & pull request" should appear. If not, click on branches button (https://github.com/$YOURLOGIN/pixano-elements/branches) and then click the "New pull request" button corresponding to your contribution branch.

  2. Complete the merge request message with a meaningfull title and a comprehensive comment: describe how your work is changing Pixano and what modules are impacted. You could use something like:

	## pxn-$IMPACTED_PLUGIN
	* file: modifications...
	* file: modifications...
	* ...
	## pxn-$OTHER_IMPACTED_PLUGIN
	* ...

	Co-authored-by: ...
  1. click on "Create pull request" => automatic verifications are made by github

Nice work ! Thank you for contributing to Pixano !

Change log

Releases

License

Pixano is released under the CeCILL-C license, a free software license adapted to both international and French legal matters that is fully compatible with the FSF's GNU/LGPL license.