tien_nemo

file json

...@@ -89,8 +89,8 @@ class OcrController extends Controller ...@@ -89,8 +89,8 @@ class OcrController extends Controller
89 $templateName = $request->get('template_name', ''); 89 $templateName = $request->get('template_name', '');
90 90
91 // Giả sử file OCR JSON & ảnh nằm trong storage/app/public/image/ 91 // Giả sử file OCR JSON & ảnh nằm trong storage/app/public/image/
92 - $jsonPath = public_path("image/Iwasaki_1757404869_with_table.json"); 92 + $jsonPath = public_path("image/nemo_new_3_1757403463_with_table.json");
93 - $imgPath = ("image/Iwasaki_1757404869.jpg"); 93 + $imgPath = ("image/nemo_new_3_1757403463.jpg");
94 94
95 if (!file_exists($jsonPath)) { 95 if (!file_exists($jsonPath)) {
96 return response()->json(['error' => 'File OCR JSON không tìm thấy'], 404); 96 return response()->json(['error' => 'File OCR JSON không tìm thấy'], 404);
......