Browse Source

updated parsing of embeddings

master
cailean 4 months ago
parent
commit
4124f0352d
  1. 411
      embeddings.json
  2. 2
      server.js
  3. 2
      tree.txt

411
embeddings.json

File diff suppressed because it is too large

2
server.js

@ -47,7 +47,7 @@ app.post('/search/', (req, res) => {
let idx = queryVPTree(vector)
res.send({folder: jsonEmbeddings[idx].folder, frame: jsonEmbeddings[idx].frame, video: jsonEmbeddings[idx].video});
res.send({folder: jsonEmbeddings[idx].folder, image: jsonEmbeddings[idx].image, video: jsonEmbeddings[idx].video, frame: jsonEmbeddings[idx].frame});
});
function queryVPTree(value){

2
tree.txt

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save