Skip to content

Commit

Permalink
error corrected in pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
SanduniU committed Oct 18, 2023
1 parent 114c515 commit 2f36176
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/image_processing/report/getPDF.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def createPDF(img, logo, segmentedImg, remarks):
width=280, preserveAspectRatio=True)

getColorSpreads(segmentedImg)
can.drawInlineImage("dominentColors.jpg",height-650, width = 280, preserveAspectRatio=True)
can.drawInlineImage("dominentColors.jpg",50,height-650, width = 280, preserveAspectRatio=True)
can.setFont("Times-Roman", 14)
can.drawString(70, height-650, "Remarks: "+remarks)
can.drawInlineImage("./blacklogo.jpg", width-120, height-890, width=100,
Expand Down
Binary file added env/Scripts/python.exe
Binary file not shown.
Binary file added env/Scripts/pythonw.exe
Binary file not shown.
5 changes: 5 additions & 0 deletions env/pyvenv.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
home = C:\Python311
include-system-site-packages = false
version = 3.11.3
executable = C:\Python311\python.exe
command = C:\Python311\python.exe -m venv D:\University\Short Sem\227 project\e19-co227-Leaf-Colour-Quantifier\env

0 comments on commit 2f36176

Please sign in to comment.