altf4 / altf4/ProtoType

Crash on infinity distance

Aberta
#2 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
C++
Estrelas
7
Forks
0
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

It's hard to reproduce, but sometimes the program will crash at:

dists[i] = sqrt(dists[i]);

inside Classify().

Looks like the dist[0] after the call to the ANN library search function returns infinity for a distance. That or the distance turns to infinity after doing the square root, not sure. Have to look into how this is happening.

I've found that you can reproduce this somewhat regularly by starting a video feed (youtube) and then firing up ProtoType. It ought to crash pretty much right away.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.