Print scores
This commit is contained in:
@@ -255,11 +255,13 @@ const FaceItem: React.FC<FaceItemProps> = ({ faceWF, clusterIDForFaceID }) => {
|
||||
)}
|
||||
<Stack direction="row" justifyContent="space-between">
|
||||
<Typography variant="small" color="text.muted">
|
||||
{`${face.blur.toFixed(0)} blr`}
|
||||
{`b ${face.blur.toFixed(0)} b`}
|
||||
</Typography>
|
||||
|
||||
<Typography variant="small" color="text.muted">
|
||||
{`cos ${cosineSimilarity.toFixed(2)}`}
|
||||
{`s ${face.score.toFixed(2)}`}
|
||||
</Typography>
|
||||
<Typography variant="small" color="text.muted">
|
||||
{`c ${cosineSimilarity.toFixed(2)}`}
|
||||
</Typography>
|
||||
</Stack>
|
||||
</FaceChip>
|
||||
|
||||
@@ -355,7 +355,7 @@ export const clusterFacesHdb = async (faceIndexes: FaceIndex[]) => {
|
||||
// TODO-Cluster ad-hoc filtering and slicing
|
||||
const faces0 = [...enumerateFaces(faceIndexes)]
|
||||
.filter((f) => f.blur > 50)
|
||||
.slice(0, 1000);
|
||||
.slice(0, 6000);
|
||||
// TODO-Cluster testing code, can be removed once done
|
||||
const faces = Array(1)
|
||||
.fill(0)
|
||||
|
||||
Reference in New Issue
Block a user