This documentation also exist in French
Panoptic is a tool for exploring and annotating large image corpora, utilizing image analysis and machine learning tools to facilitate these tasks.
Since it requires deep learning libraries, it is recommended to use it on a computer with minimal computing capabilities.
Warning: Panoptic is still in active development and currently only a prototype. You may encounter bugs, so we recommend using this tool only for testing and not relying on it for significant academic work.
Regardless of your OS, you will need Python 3.10 or higher; we recommend using version 3.12.
If you are on MacOS, you may need to install the x-tools command line tools. Open a terminal and run the following command: `xcode-select --install` Once installed, you can continue with the Panoptic installation.
Generally, you just need to open a terminal and run the following commands to install and then launch Panoptic:
pip3 install panoptic
panoptic
The script may ask for your password to install dependencies. This is necessary if you are missing system dependencies to install Panoptic (python, pip, and/or venv).
Here are the two commands to run to install Panoptic on Windows:
curl -O https://raw.githubusercontent.com/CERES-Sorbonne/Panoptic/refs/heads/main/install/start_panoptic_windows.ps1
powershell -ExecutionPolicy Bypass -File start_panoptic_windows.ps1
For more detailed steps:
- Download the automatic installation and launch script for Panoptic by clicking the following link: start_panoptic_windows.ps1 or directly from the terminal with the following command:
curl -O https://raw.githubusercontent.com/CERES-Sorbonne/Panoptic/refs/heads/main/install/start_panoptic_windows.ps1
- Run the script by double-clicking the file or using the following command:
powershell -ExecutionPolicy Bypass -File start_panoptic_windows.ps1
After installation, you can launch Panoptic by going back to the folder where you executed the installation script and running the following command:
powershell -ExecutionPolicy Bypass -File start-panoptic.ps1
Here are the three commands to run to install Panoptic on Linux:
wget https://raw.githubusercontent.com/CERES-Sorbonne/Panoptic/refs/heads/main/install/start_panoptic_linux.sh -O start_panoptic_linux.sh
chmod +x start_panoptic_linux.sh
./start_panoptic_linux.sh
For more detailed steps:
- Download the automatic installation and launch script for Panoptic by clicking the following link: start_panoptic_linux.sh or directly from the terminal with the following command:
wget https://raw.githubusercontent.com/CERES-Sorbonne/Panoptic/refs/heads/main/install/start_panoptic_linux.sh -O start_panoptic_linux.sh
- Make the script executable by using the file properties or with the following command:
chmod +x start_panoptic_linux.sh
- Run the script (double-click the file or use the following command):
./start_panoptic_linux.sh
You can also specify Panoptic launch parameters using the following command:
./start_panoptic_linux.sh [-y|--yes|--assume-yes] [-r|--reinstall] [-s|--start-only] [-u|--uninstall] [--no-bin-copy] [--no-update-script] [-h|--help]
Available options are:
-y
,--yes
or--assume-yes
: Use this option to automatically accept all confirmation requests.-r
or--reinstall
: Use this option to reinstall Panoptic.-s
or--start-only
: Use this option to launch Panoptic without reinstalling.-u
or--uninstall
: Use this option to uninstall Panoptic (does not delete data or system dependencies).--no-bin-copy
: Use this option to not copy the Panoptic launch script to the/usr/local/bin
directory.--no-update-script
: Use this option to not update the Panoptic launch script in the/usr/local/bin
directory.-h
or--help
: Use this option to display help.
After installation, you can launch Panoptic using the following command:
start-panoptic
You can also specify Panoptic launch parameters using the following command:
start-panoptic [-y|--yes|--assume-yes] [-r|--reinstall] [-s|--start-only] [-u|--uninstall] [--no-bin-copy] [-no-update-script] [-h|--help]
Available options are:
-y
,--yes
or--assume-yes
: Use this option to automatically accept all confirmation requests.-r
or--reinstall
: Use this option to reinstall Panoptic.-s
or--start-only
: Use this option to launch Panoptic without reinstalling.-u
or--uninstall
: Use this option to uninstall Panoptic (does not delete data or system dependencies).--no-bin-copy
: Use this option to not copy the Panoptic launch script to the/usr/local/bin
directory.--no-update-script
: Use this option to not update the Panoptic launch script in the/usr/local/bin
directory.-h
or--help
: Use this option to display help.
Here are the three commands to run to install Panoptic on MacOS:
curl -O https://raw.githubusercontent.com/CERES-Sorbonne/Panoptic/refs/heads/main/install/start_panoptic_mac.sh
chmod +x start_panoptic_mac.sh
./start_panoptic_mac.sh
For more detailed steps:
- Download the automatic installation and launch script for Panoptic by clicking the following link: start_panoptic_mac.sh
- Make the script executable by using the file properties or with the following command:
chmod +x start_panoptic_mac.sh
- Run the script (double-click the file or use the following command):
./start_panoptic_mac.sh
After installation, you can launch Panoptic by going back to the folder where you executed the installation script and running the following command:
./start-panoptic.sh
If you encountered issues with the standard installation, or prefer using Docker, an image is available. First, you need to:
In the Docker version, there is no small interface for adding folders or managing projects; you need to directly specify the folders to Docker to work with:
This requires creating a special folder named "images" within the folder you provide to Panoptic as input. In the following example, you would need a folder named images
inside /path/to/your/folder
, resulting in /path/to/your/folder/images
.
Then run the following command (with Docker already running):
docker run -it -p 8000:8000 -v /path/to/your/folder:/data --name panoptic ceressorbonne/panoptic
docker run -it -p 8000:8000 \
-v /path/to/images:/images \
-v /path/to/panoptic/data:/data \
--name panoptic ceressorbonne/panoptic
Once launched, visit http://127.0.0.1:8000 in your browser to access Panoptic.
To relaunch Panoptic with Docker after the initial installation:
docker start -ai panoptic
You can also specify Panoptic launch parameters as follows:
docker run -it -p 8000:8000 -v /path/to/your/folder:/data --name panoptic ceressorbonne/panoptic [-y|--yes|--assume-yes] [-r|--reinstall] [-s|--start-only] [-u|--uninstall] [--no-bin-copy] [--no-update-script] [-h|--help]
Available options are the same as for the Linux installation.
If you want to contribute to Panoptic's development or test the latest unpublished features, you can clone the GitHub repository and install Panoptic in development mode.
To test and modify the backend, we provide a pre-built frontend in the backend's html
folder.
- Navigate to the
panoptic-back
folder. - To install dependencies:
python3 setup.py install
to simply use Panoptic.pip3 install -e .
for development.pip3 install -r requirements.txt
and addpanoptic-back
toPYTHON_PATH
for development as well.
- Run the backend with
python panoptic/main.py
.
- First, complete the backend installation steps.
- Navigate to the
panoptic-front
folder. - Run
npm install
. - Start the frontend server with
npm run dev
. - Before starting the backend, set the environment variable
PANOPTIC_ENV
toDEV
to use the development frontend.
This project is licensed under the MPL-2.0 License - see the LICENSE file for details.