Sign inSign up

perforce/p4detect

By perforce

•Updated about 2 hours ago

An image detection service using OpenAI's CLIP model.

Image
0

3.1K

perforce/p4detect repository overview

Support

⁠Overview

P4 Detect is a Python-based REST service providing an API for image detection using OpenAI's CLIP model.

⁠Requirements

The P4 Detect service needs a connection to P4 Search.

⁠Documentation

To learn more about P4 Detect and its connection with P4 Search, see the P4 Search documentation: https://help.perforce.com/helix-core/integrations-plugins/p4search/current⁠

⁠Support

P4 Detect is officially supported by Perforce. Any issues should be submitted via Perforce's standard support process. See https://www.perforce.com/support/request-support⁠

⁠Build/Usage

To run a P4 Detect container, follow these steps.

(1) Pull this image:

docker pull perforce/p4detect:latest

(2) Run the container:

Default:

docker run -d \
   --name p4detect.helix \
   -p 1608:1608 \
   perforce/p4detect:latest

Recommended:

  mkdir -p volumes/p4detect/config

  mkdir -p volumes/p4detect/label_config

  mkdir -p volumes/p4detect/logs

docker run -d \
  --name p4detect.helix \
  -p 1608:1608 \
  -v ./volumes/p4detect/config:/config \
  -v ./volumes/p4detect/label_config:/label_config \
  -v ./volumes/p4detect/logs:/logs \
  -e WORKERS=1 \
  -e CONFIG_ENV=production \
  -e CONFIG_PATH=/config/config.yml \
  -e LABEL_CONFIG_PATH=/label_config \
  -e LOGGING_PATH=/logs/p4detect.log \
  -e HOST_UID=$(id -u) \
  -e HOST_GID=$(id -g) \
  perforce/p4detect:latest

⁠License statements

Tag summary

Content type

Image

Digest

sha256:8adf518f9…

Size

3.1 GB

Last updated

about 2 hours ago

docker pull perforce/p4detect