Ask Your Question
0

How i can use zoom video in Java?

asked 2015-03-12 06:37:45 -0500

sfrantoni gravatar image

Hi. I want to zoom the video in real-time, using Java. Someone can help me? Thank you!

edit retag flag offensive close merge delete

Comments

How can you zoom the video under c++? What does zoom means? Something like resize? Or what player does the zoom you want?

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-03-12 07:41:50 -0500 )edit

i use java. i capture video, and i want click a button that zoom my video in real time

sfrantoni gravatar imagesfrantoni ( 2015-03-16 03:52:42 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2020-04-07 09:01:41 -0500

GRASBOCK gravatar image

I am not familiar with opencv in java, but generally you should be able to take a rectangle out of your image according to the zoom level you want it to be (this I assume will be a Mat) and then resize it to fit your window/original frame, and then insert it back into the window. A zoom in Videos normally is nothing other than up scaling

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-03-12 06:37:45 -0500

Seen: 412 times

Last updated: Mar 12 '15