Closed jklontz closed 9 years ago
@bhklein @sklum please review before I send this out to the mailing list. @bklare FYI.
looks good to me
:+1:
@biometrics/isi @biometrics/sri @biometrics/str @biometrics/umd Please review, thanks!
@jklontz One of the requirements we discussed was support for clustering. I think this is a simple interface: gallery (input), num clusters (input, optional), integer subject label assignment to each template (output).
Could you add this to this API? On Apr 15, 2015 11:47 AM, "Josh Klontz" notifications@github.com wrote:
The pull request contains the API changes proposed for phase 2. Here's the summary of changes:
-
janus_attributes_list refactored as janus_attributes: The new janus_attributes obviates the need for memory allocation on the implementation side, and thus obviates the need to introduce a function to deallocate the memory. It's also now easier for clients to retrieve the value of a specific attribute. The tradeoff is that the client must allocate memory to store all possible JANUS_NUM_ATTRIBUTES attributes, some of which may end up being unpopulated.
janus_detect introduced: This is now a prerequisite for janus_augment.
janus_track dropped: A change in the semantics of janus_augment obviated the need for this function.
JANUS_INVALID_ATTRIBUTE enum dropped: The change in semantics of janus_attributes obviated the need for this enum value.
JANUS_FRAME enum dropped: There isn't a clean way to propagate this information, and it doesn't seem to be needed anyway.
int parameters in janus_search changed to size_t.
- Bumped version number to 0.4.0.
- Removed iarpa_janus_aux.h placeholder header file.
The evaluation harness will be updated after the API changes are accepted.
You can view, comment on, or merge this pull request online at:
https://github.com/biometrics/janus/pull/17 Commit Summary
- proposed phase 2 API changes
File Changes
- M include/iarpa_janus.h https://github.com/biometrics/janus/pull/17/files#diff-0 (147)
- D include/iarpa_janus_aux.h https://github.com/biometrics/janus/pull/17/files#diff-1 (148)
- M src/janus_io.cpp https://github.com/biometrics/janus/pull/17/files#diff-2 (14)
Patch Links:
— Reply to this email directly or view it on GitHub https://github.com/biometrics/janus/pull/17.
I am guess we will have to solve the association problem for all the detects AND
Also associate one of the set of detections to the person of interest using imagery (already enrolled images of that person in the gallery).
Correct me if I am wrong…
Moti
From: Brendan K [mailto:notifications@github.com] Sent: Thursday, April 16, 2015 7:34 AM To: biometrics/janus Cc: agrawalmoti Subject: Re: [janus] Proposed Phase 2 API changes (#17)
@jklontz One of the requirements we discussed was support for clustering. I think this is a simple interface: gallery (input), num clusters (input, optional), integer subject label assignment to each template (output).
Could you add this to this API? On Apr 15, 2015 11:47 AM, "Josh Klontz" notifications@github.com wrote:
The pull request contains the API changes proposed for phase 2. Here's the summary of changes:
janus_attributes_list refactored as janus_attributes: The new janus_attributes obviates the need for memory allocation on the implementation side, and thus obviates the need to introduce a function to deallocate the memory. It's also now easier for clients to retrieve the value of a specific attribute. The tradeoff is that the client must allocate memory to store all possible JANUS_NUM_ATTRIBUTES attributes,
some of which may end up being unpopulated.
janus_detect introduced:
This is now a prerequisite for janus_augment.
janus_track dropped: A change in the semantics of janus_augment obviated the need for this
function.
JANUS_INVALID_ATTRIBUTE enum dropped: The change in semantics of janus_attributes obviated the need for this
enum value.
JANUS_FRAME enum dropped: There isn't a clean way to propagate this information, and it doesn't
seem to be needed anyway.
int parameters in janus_search changed to size_t.
- Bumped version number to 0.4.0.
- Removed iarpa_janus_aux.h placeholder header file.
The evaluation harness will be updated after the API changes are accepted.
You can view, comment on, or merge this pull request online at:
https://github.com/biometrics/janus/pull/17 Commit Summary
- proposed phase 2 API changes
File Changes
- M include/iarpa_janus.h https://github.com/biometrics/janus/pull/17/files#diff-0 (147)
- D include/iarpa_janus_aux.h https://github.com/biometrics/janus/pull/17/files#diff-1 (148)
- M src/janus_io.cpp https://github.com/biometrics/janus/pull/17/files#diff-2 (14)
Patch Links:
— Reply to this email directly or view it on GitHub https://github.com/biometrics/janus/pull/17.
— Reply to this email directly or view it on GitHub https://github.com/biometrics/janus/pull/17#issuecomment-93749716 .Image removed by sender.
@agrawalmoti Good question. As you've observed, the output of _janusdetect is an array of _janusattributes, one for each detected face in the image, and the input to _janusaugment is a single _janusattributes. In the event that there are multiple detections in an image, an ambiguity arises as to which one ought to be added to the template. For the purpose of evaluating algorithms, the evaluation harness will resolve this ambiguity by comparing the ground truth against the reported detection bounding boxes to select the appropriate detection. Having said that, the BAA does mention that we may intentionally provide the incorrect face detection during template construction in order to measure your invariance to this source of error, so be aware of that possibility. In summary, we won't ask you to solve the general detection association problem, but you should have some invariance to being given incorrect associations.
I did forget to add a gallery clustering function, will do so. My understanding with respect to the BAA is that the implementation of this function is considered optional.
I've pushed a few more changes based on initial feedback:
janus_cluster
function for clustering.janus_attributes
, obviating the need for the janus_attribute
enum.janus_augment
is now allowed to modify the attributes
parameter to return additional attribute information.Introduced janus_attribute::frame_rate
to provide more information to janus_augment
.
The pull request contains the API changes proposed for phase 2. Here's the summary of changes:
janus_attributes_list
refactored asjanus_attributes
: The newjanus_attributes
obviates the need for memory allocation on the implementation side, and thus obviates the need to introduce a function to deallocate the memory. It's also now easier for clients to retrieve the value of a specific attribute. The tradeoff is that the client must allocate memory to store all possibleJANUS_NUM_ATTRIBUTES
attributes, some of which may end up being unpopulated.janus_detect
introduced: This is now a prerequisite forjanus_augment
.janus_track
dropped: A change in the semantics ofjanus_augment
obviated the need for this function.JANUS_INVALID_ATTRIBUTE
enum dropped: The change in semantics ofjanus_attributes
obviated the need for this enum value.JANUS_FRAME
enum dropped: There isn't a clean way to propagate this information, and it doesn't seem to be needed anyway.int
parameters injanus_search
changed tosize_t
.iarpa_janus_aux.h
placeholder header file.The evaluation harness will be updated after the API changes are accepted.