The core issue of the question is "how to iterate over the values of a dictionary". That by itself would neatly fit into a title, a mre would be a few lines of code, and there is one obvious correct answer.
The question
The title "Extracting a list from a nested Python dictionary using list comprehension" does not accurately reflect what the question is about. The question is not actually about extracting a list, the nesting is only incidentally relevant, and what remains is rather generic (albeit accurate).
Someone with the same issue is unlikely to realise it based on the title.
The body needlessly avoids asking a proper debugging question. Both the input and output are styled as some abstract pseudo-values – wrong syntax, undefined placeholders – when it would be trivial to modify to provide both correctly.
# abstract pseudo-values
[value_00, value_01, ... value_N]
# concrete values
["value_00", "value_01", "value_N"]
The question contains an attempt at solving the task, yet not at solving the problem. Merely following the information of the error – that there is a problem with indexing – would have given an insight into what goes wrong, even if not how to fix it.
# an attempt to solve the task
result = [obj['detection']['value'] for obj in dic]
# an attempt to solve the problem
result = [obj for obj in dic]
The answer
The answer is almost correct, in the sense that it works but is exactly what one should not teach to others: it correctly identifies the issue (one needs the values instead of the keys) but presents a suboptimal solution.
Now, of course not every answer has to be perfect. However, there is a method literally named as the desired thing. Searching the keywords gives multiple appropriate solutions, even when not restricted to Stack Overflow.
In short, the question seems not useful for searching and the answer not useful for solving the problem.