Convert to black and white binary, which is a bitmap bitmap.
Trace the contour with ai or cdr, and you can get the vector diagram.
Ai is recommended here. If you think the lines are not smooth enough, you can simplify some nodes. Very convenient.
You can also choose in ps and gray mode.
Then convert the selection to a path.
Then export the path to a file in *. Ai format.
The following is a demonstration of artificial intelligence
The vector contour is obtained, and the required part is selected after dissolution.