I want to modify a folder with .txt files
The txt file look like this:
3 0.695312 0.523958 0.068750 0.052083 3 0.846875 0.757292 0.071875 0.031250 3 0.830469 0.719792 0.067187 0.035417 My idea is take all the .txt files and change inline the first number.
Output example:
2 0.695312 0.523958 0.068750 0.052083 2 0.846875 0.757292 0.071875 0.031250 2 0.830469 0.719792 0.067187 0.035417 Can you help me?
https://stackoverflow.com/questions/66511872/how-to-modify-the-value-of-a-yolo-txt-file-in-python March 07, 2021 at 07:54AM
没有评论:
发表评论