fix(crop): stabiliser le rectangle géométrique de découpe et l'enchaînement des zooms
This commit is contained in:
@@ -162,8 +162,8 @@ class AnalysisProvider extends ChangeNotifier {
|
||||
return;
|
||||
}
|
||||
|
||||
// Detect target and impacts
|
||||
final result = _detectionService.detectTarget(imagePath, targetType);
|
||||
// CORRECTION PARALLÈLE : Changement de la méthode pour l'Isolate asynchrone
|
||||
final result = await _detectionService.detectTargetAsync(imagePath, targetType);
|
||||
|
||||
if (!result.success) {
|
||||
_state = AnalysisState.error;
|
||||
|
||||
Reference in New Issue
Block a user