Skip to content

Commit

Permalink
Update required python packages
Browse files Browse the repository at this point in the history
  • Loading branch information
NguyenAnhTuan1912 committed Aug 18, 2024
1 parent b9a16b4 commit d8c7e7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions backend/nodejs/src/classes/PyProcess.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ export class PyProcess {

py_process.stderr.on("data", (data) => {
data = data.toString();
data = JSON.parse(data);
console.error("PyProcess Error: ", data);
rej({ message: "There are an error!" });
rej({ message: `There is an error! - ${data}` });
});
});
} catch (error) {
Expand Down
2 changes: 1 addition & 1 deletion backend/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytesseract==0.3.10
numpy==1.26.0
opencv-python==4.8.1.78
opencv-python-headless==4.10.0.84

0 comments on commit d8c7e7c

Please sign in to comment.