Pastec Setup Helper Scripts

This is a set of helper scripts for a quick install of a custom Pastec environment.

Table of Contents

Project structure

Name Description
images/ JPEG images to be recognized.
test/*.jpg Sample test image files to be recognized.
setup.sh Environment setup script.
server.sh Run the server. Just a really simple wrapper script.
restoreImages.sh Send all images/*.jpg files to the running server.
test.sh Query the running server for the results of all test/ image files.

Usage

Installation

./setup.sh

Run the server

cd pastec/build
./pastec visualWordsORB.dat
# or in background
#nohup ./pastec visualWordsORB.dat &

Build the visual words from images

See restoreImages.sh.
We re-build ALL visual words every time the server boots up with images/* files.

Links

Visual Word (wikipedia)
OpenFoodFacts Slack
Bear2b
MyPackConnect.com