|
@@ -153,6 +153,8 @@ public class VideoRecognitionServiceImpl implements VideoRecognitionService {
|
|
|
if (playerInfo.getStatusFlag() > 4) {
|
|
if (playerInfo.getStatusFlag() > 4) {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
+ playerInfo.setStatusFlag(5);
|
|
|
|
|
+ playerInfoService.updatePlayerInfo(playerInfo);
|
|
|
VideoCapture capture = new VideoCapture();
|
|
VideoCapture capture = new VideoCapture();
|
|
|
if (capture.open(playerInfo.getVideo())) {
|
|
if (capture.open(playerInfo.getVideo())) {
|
|
|
System.out.println(capture.get(Videoio.CAP_PROP_FRAME_WIDTH));
|
|
System.out.println(capture.get(Videoio.CAP_PROP_FRAME_WIDTH));
|