cant run correctly

57 views
Skip to first unread message

高睿君

unread,
Oct 28, 2024, 5:43:26 AM10/28/24
to javacv
When I run procamcalib,I always get this error message
8c6555b0-2857-4fc7-94b0-1e76a9bc7cc3.png

Samuel Audet

unread,
Oct 28, 2024, 5:44:28 AM10/28/24
to jav...@googlegroups.com
Please try again with an older version of Java SE such as 8 or 11

On 10/28/24 17:47, '高睿君' via javacv wrote:
> When I run procamcalib,I always get this error message
> 8c6555b0-2857-4fc7-94b0-1e76a9bc7cc3.png

高睿君

unread,
Oct 29, 2024, 5:33:15 AM10/29/24
to javacv
Thank you very much, this problem has been resolved. 
There is another question, I want to use a USB connected camera. How do I set it up to be used in the software. I am very sorry, I am still in the process of learning Java, so I would greatly appreciate it if you could provide me with an reply.

Samuel Audet

unread,
Oct 29, 2024, 6:16:55 AM10/29/24
to '高睿君' via javacv
That should be supported by the OpenCVFrameGrabber as device 0

芋俞

unread,
Nov 6, 2024, 4:49:30 AM11/6/24
to javacv
I am using a Hikvision USB3 connected camera, but after selecting OpenCVFrameGrabber, it still cannot recognize the camera's input. May I ask if it is due to the camera or if there are any settings that I did not notice.
In addition, if using IPCamera, there is no place to input the IP address. I also want to ask how to set it up.
Finally, there is another question. Should I use HDMI connection directly or USB or LAN port connection when connecting the projector.

Samuel Audet

unread,
Nov 6, 2024, 5:49:02 AM11/6/24
to jav...@googlegroups.com
This is indeed an IP camera, so try to use FFmpegFrameGrabber and enter
the URL as the "filename".

As for the projector, as long as it's recognized by your OS as another
display, it doesn't matter how it's connected.

芋俞

unread,
Nov 7, 2024, 2:24:06 AM11/7/24
to javacv
Sorry to bother you again, the camera I am using is an industrial camera from Hikvision, which is connected via USB3 as shown in the following picture. Therefore, it should not be an IP camera. By the way, is the "filename" you mentioned the "device file" in Figure 3 below
1.png2.png3.pngSorry to bother you again, 

Samuel Audet

unread,
Nov 7, 2024, 2:28:12 AM11/7/24
to jav...@googlegroups.com
If this is the kind of camera that requires a special SDK, you'll need
to create an appropriate subclass of FrameGrabber to grab images using
that special SDK.

On 11/7/24 16:24, '芋俞' via javacv wrote:
> Sorry to bother you again, the camera I am using is an industrial camera
> from Hikvision, which is connected via USB3 as shown in the following
> picture. Therefore, it should not be an IP camera. By the way, is the
> "filename" you mentioned the "device file" in Figure 3 below
> 1.png2.png3.pngSorry to bother you again,

Reply all
Reply to author
Forward
0 new messages