Skip to content

Commit

Permalink
initial updates on additional details
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandip117 committed May 23, 2024
1 parent 7b964bc commit 1511dcb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion markimg/markimg.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ def run(self, options):
ht_scale = height / max_x

info = data[row]['info']
details = data[row]['details']

items = data[row]["landmarks"]
for item in items:
Expand Down Expand Up @@ -614,7 +615,7 @@ def run(self, options):
LOG(f"Output image dimensions {png.shape}")
cv2.imwrite(os.path.join(options.outputdir, row + ".png"), inverted_png)
d_json[row] = {'info': d_info, 'femur': d_femur, 'tibia': d_tibia, 'total': d_total,
'pixel_distance': d_pixel}
'pixel_distance': d_pixel, 'details': details}

# Open a json writer, and use the json.dumps()
# function to dump data
Expand Down

0 comments on commit 1511dcb

Please sign in to comment.