reset password
Author Message
400765557
Posts: 2
Posted 22:18 May 16, 2020 |

Hey all, I would like to ask what's the relationship between the width of the image and the width of the frame? In the BlockMotionSearch.java, the frame size was set to (640,480) but the image size is 192*144, when I convert the image to frame, how can I convert image size to the frame size? Thank you.

tkitcha
Posts: 19
Posted 22:37 May 16, 2020 |

I think the 640,480 is just default value. I might be wrong but you can use the setter method to set frameheight and framewidth to the image's resolution.

400765557
Posts: 2
Posted 22:39 May 16, 2020 |

Got it, thanks!