Hey!
i have a python script that creates a videofile in the folder "video".
I need to add this snippet to extract the 40th frame from the created video.
def get_frames():
cap = [login to view URL]('[login to view URL]')
i = 0
while [login to view URL]():
ret, frame = [login to view URL]()
if not ret:
break
[login to view URL]('test_'+str(i)+'.jpg', frame)
i += 1
[login to view URL]()
[login to view URL]()
After extracting the 40th frame as .jpg, save it in folder "extracted" with [login to view URL] as name, and delete the video we created for extracting the jpg.
The change has to be added in line 138 of [login to view URL] that i attached.
At the end of this part :
print(f"Making video at {[login to view URL]()}")
videos_poses, video_basename = [login to view URL](sample['tgts_poses']), sample['tgt_name']
top = ([login to view URL]('original_h') // 2 - sample['int_mtx'][1, 2] * config['output_h'])
left = ([login to view URL]('original_w') // 2 - sample['int_mtx'][0, 2] * config['output_w'])
down, right = top + config['output_h'], left + config['output_w']
border = [int(xx) for xx in [top, down, left, right]]
normal_canvas, all_canvas = output_3d_photo([login to view URL](), [login to view URL](), [login to view URL](), [login to view URL](Height), [login to view URL](Width), [login to view URL](hFov), [login to view URL](vFov),
[login to view URL](sample['tgt_pose']), sample['video_postfix'], [login to view URL](sample['ref_pose']), [login to view URL](config['video_folder']),
[login to view URL](), [login to view URL](sample['int_mtx']), config, image,
videos_poses, video_basename, [login to view URL]('original_h'), [login to view URL]('original_w'), border=border, depth=depth, normal_canvas=normal_canvas, all_canvas=all_canvas,
mean_loc_depth=mean_loc_depth)
I will have more work in the near future, so i hope for a good and long cooperation.
I read your project description carefully. I am bidding on your project becasue I am very much familiar with All the NN topics mentioned above and did lot of project in jupyter notebook.
I am an experienced Data Scientist and Machine Learning Engineer. Data Visualization, NLP, Deep learning, Artificial intelligence, machine learning, Data structures, and algorithms are my major fields. I finished specializations on Data Science, Machine learning, Deep neural Network, Convolution NN, Recurrent NN, Tuning Hyper Parameter .this project will well fit for me.
I have won the 2nd runners up award in Sri Lanka Biggest Data Science Competition.
I am very fluent with python and did a lot of data science and ml project. So I am familiar with these related libraries such as matplotlib, seaborn, pandas, numpy, sikit-learn, Keras, TensorFlow, spark etc .
Hello Sir/ Ma’am
A skilled full stack developer, I have rich experience in JAVA, C, C++, C# Python , ANDROID and ARDUINO.
I am very confident with my skills and I'd like to help your business by doing my best.
I am able to work full time on your time zone and start working right away.
Please confirm that I am one of the best fits for you and drop me a message for further discussion.
High-quality & Fast-delivery is promised!
Thanks and Best Regards