While researching on this problem, I have found out that there is an open source library called Fiftyone that does the implementation of converting dataset from one format to another.
So, I wanted to ask If I can use that library for my problem.
Thank You