Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New cluster #43

Open
wants to merge 20 commits into
base: phase2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
51a8886
A possible update for the clustering API
JordanCheney Nov 30, 2016
076fe95
Refactored the harness code so that it builds as an independent libra…
Jan 9, 2017
aaa9485
Fixed error where janus_verify exits when a FTE template is encountered
aduncan304 Jan 11, 2017
dacc147
Added ability to test if a association is an image or a frame and to …
JordanCheney Oct 12, 2016
4f34a52
Parse the csv's better
JordanCheney Oct 14, 2016
1b86b5a
Update so that media objects can contain non-sequential frames
JordanCheney Nov 7, 2016
8cb9b9d
Update documentation for cluster function
JordanCheney Nov 29, 2016
639adf8
Fix for 2 unrelated issues. Overwrite filename metadata with the vide…
JordanCheney Nov 30, 2016
27071e5
Improved comments based on STR feedback.
JordanCheney Dec 1, 2016
f9cd4f2
Removed column-order dependence from the metadata parser
aduncan304 Dec 8, 2016
08e74f8
A possible update for the clustering API
JordanCheney Nov 30, 2016
9e8fed3
Added some functionality to OpenCV lazy loader I/O
aduncan304 Jan 12, 2017
5a2704a
Added a basic OpenCV video IO utility
aduncan304 Jan 12, 2017
e165447
Merge branch 'new_cluster' of https://github.com/Noblis/janus into ne…
aduncan304 Jan 12, 2017
06bbe24
Reorganization of the project. Fixed a few warnings.
Jan 13, 2017
cfa06fb
Added media clustering support to PP5 wrapper
aduncan304 Jan 17, 2017
d9fcf56
Added data_path argument for media clustering
aduncan304 Jan 17, 2017
300aeed
Fixed bug encountered when reading a single frame video
aduncan304 Jan 23, 2017
df2eb40
Added a public interface for janus_media
JordanCheney Jan 23, 2017
f767cf9
Stop using link_directories
Jan 23, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ macro(janus_get_version VAR)
REGEX "#define[ ]+${VAR}[ ]+[0-9]+")
string(REGEX MATCH "[0-9]+" ${VAR} ${LINE})
endmacro(janus_get_version)

janus_get_version(JANUS_VERSION_MAJOR)
janus_get_version(JANUS_VERSION_MINOR)
janus_get_version(JANUS_VERSION_PATCH)

configure_file(include/iarpa_janus.h ${CMAKE_CURRENT_BINARY_DIR}/refreshes_version_when_changed)
set(JANUS_VERSION ${JANUS_VERSION_MAJOR}.${JANUS_VERSION_MINOR}.${JANUS_VERSION_PATCH})

Expand All @@ -34,6 +36,16 @@ endif()

include(CTest)

if(JANUS_IMPLEMENTATION AND JANUS_IO_IMPLEMENTATION)
add_subdirectory(src)
# The harness includes an optional PittPatt5 implementation
add_subdirectory(implementations)

# If we have an implementation, build the test harness
if(JANUS_IMPLEMENTATION)
add_subdirectory(harness)
endif()

# Optionally build the documentation
option(BUILD_JANUS_DOCUMENTATION "Use doxygen to build the Janus documentation" OFF)
if (${BUILD_JANUS_DOCUMENTATION})
add_subdirectory(docs)
endif()
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ Janus

# Implementations

The Janus CMake file expects the user to specify a JANUS_IMPLEMENTATION variable that gives the name of the library the Janus utility executables can link against at compile time. Using PittPatt 5 as an example, the command to cmake would be
The Janus CMake file expects the user to specify a JANUS_IMPLEMENTATION variable that gives the full path to the library that contains the implementations of the API functions. This can be done like:

$ cmake -DJANUS_IMPLEMENTATION="pittpatt" ..
$ cmake -DJANUS_IMPLEMENTATION="/path/to/janus/implementation" ..

In addition to a JANUS_IMPLEMENTATION, users may also optionally specify a JANUS_IO_IMPLEMENTATION which implements the Janus I/O functions. A working version that uses the OpenCV library comes with the API. The command to use it is
In addition to a JANUS_IMPLEMENTATION, users may also optionally specify a JANUS_IO_IMPLEMENTATION which implements the Janus I/O functions. Similar to JANUS_IMPLEMENTATION it can be set like:

$ cmake -DJANUS_IO_IMPLEMENTATION="opencv_io" ..
$ cmake -DJANUS_IO_IMPLEMENTATION="/path/to/janus/io/implementation" ..

# Building the PittPatt wrapper

To build the PittPatt 5 wrapper you would use the cmake command
This API ships with an optional PittPatt 5 wrapper that can be used to test the functionality. Note that the wrapper requires the PittPatt 5 libaries to be provided separately. To build the PittPatt 5 wrapper you would use the cmake command

$ cmake -DJANUS_IMPLEMENTATION="pittpatt" -DJANUS_IO_IMPLEMENTATION="opencv_io" ..
$ cmake -DBUILD_JANUS_PP5_IMPLEMENTATION=ON -DBUILD_JANUS_OPENCV_IO_IMPELEMENTATION=ON ..

CMake will automatically try and locate the PittPatt libraries on your system. If they cannot be found you can manually set the PP5_DIR variable, either from the command line or using the CMake GUI. Setting it from the command line can be done like
CMake will automatically try and locate the PittPatt and OpenCV libraries on your system. If they cannot be found you will be manually prompted to provide the PP5_DIR and OpenCV_DIR variables. The PP5_DIR should point to the root of the PittPatt 5 SDK directory. The OpenCV_DIR should point to the directory that contains OpenCVConfig.cmake. From the command line these values can be set like

$ cmake -DPP5_DIR=/path/to/pp5 ..
$ cmake -DPP5_DIR=/path/to/pp5 -DOpenCV_DIR=/path/to/opencv ..
5 changes: 0 additions & 5 deletions data/Kirchner.csv

This file was deleted.

Binary file removed data/Kirchner.flv
Binary file not shown.
Binary file removed data/Kirchner0.jpg
Binary file not shown.
Binary file removed data/Kirchner1.jpg
Binary file not shown.
Binary file removed data/Kirchner2.jpg
Binary file not shown.
Binary file removed data/Kirchner3.jpg
Binary file not shown.
153,504 changes: 0 additions & 153,504 deletions data/LFW_YTF_gallery.csv

This file was deleted.

476,113 changes: 0 additions & 476,113 deletions data/LFW_YTF_probe.csv

This file was deleted.

3,073 changes: 0 additions & 3,073 deletions data/LFW_YTF_sequester.csv

This file was deleted.

6 changes: 0 additions & 6 deletions data/Toledo.csv

This file was deleted.

Binary file removed data/Toledo0.jpg
Binary file not shown.
Binary file removed data/Toledo1.jpg
Binary file not shown.
Binary file removed data/Toledo2.jpg
Binary file not shown.
Binary file removed data/Toledo3.jpg
Binary file not shown.
Binary file removed data/Toledo4.jpg
Binary file not shown.
32 changes: 0 additions & 32 deletions data/extract_keyframes.sh

This file was deleted.

93 changes: 0 additions & 93 deletions data/gallery_probe.py

This file was deleted.

51 changes: 0 additions & 51 deletions data/janusProtocol.py

This file was deleted.

1 change: 0 additions & 1 deletion data/janusQuery.sql

This file was deleted.

Loading