opensight-cv / opensight Goto Github PK
View Code? Open in Web Editor NEWEasy-to-use, powerful, and free vision suite.
Home Page: https://opensight-cv.github.io/
License: MIT License
Easy-to-use, powerful, and free vision suite.
Home Page: https://opensight-cv.github.io/
License: MIT License
I create an issue here because it seems that I can't on opsi-gen.
First, thank you for what you are doing this is awesome !!
So, I tried to test the raspberry image but the camera didn't seem to work and the dashboard wasn't here. I decided to ssh into the raspberry and looked at the opensight service which had effectivly failed.
When I tried to manualy re-run the program, I had this issue :
Traceback (most recent call last):
File "/bin/opensight", line 81, in <module>
main()
File "/bin/opensight", line 70, in main
program = make_program(package_path)
File "/bin/opensight", line 31, in make_program
program.manager.register_module(ModulePath(dir, path))
File "/usr/lib/python3/dist-packages/opsi/manager/manager.py", line 73, in register_module
module = import_module(path)
File "/usr/lib/python3/dist-packages/opsi/manager/manager.py", line 39, in import_module
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/opsi/modules/input.py", line 87, in <module>
class CameraInput(Function):
File "/usr/lib/python3/dist-packages/opsi/modules/input.py", line 97, in CameraInput
@dataclass
File "/usr/lib/python3/dist-packages/opsi/modules/input.py", line 99, in Settings
mode: get_modes()
File "/usr/lib/python3/dist-packages/opsi/modules/input.py", line 70, in get_modes
"Cam {0}: {1} @ {2:g} fps".format(cam, resolution, float(max(fpses)))
ValueError: max() arg is an empty sequence
Camera used - Logitech HD Pro Webcam C920 (h264 and MJPEG Capable)
Drive link to the terminal i/o -> https://drive.google.com/drive/folders/1gkdJJtxD8x_nj3azOCujJFEbB3Y4NXah?usp=sharing
Even though our camera was connected, Opensight could not detect the program as running. A test python program was run, testing if the camera was connected. The test program did provide video feed from the camera. After multiple trials, it was revealed that Opensight had a problem. I hope this can be fixed in the future.
In rare cases (currently only demonstrated through hardware issues) CameraInput will successfully create a VideoCapture object, however on the test run of the node the read()
call will block until select
times out (10 seconds, which is longer than the frontend XHR timeout). There should be a timeout for a more reasonable time, such as 1 second since a camera read should never take that long, and return the error properly.
Can you make a module that can save image frames and another than can read image frames for development & calibration?
Bonus points if there was a 'hook' page for capturing images, and another hook page for selecting which image to display.
Maybe the 'read image' module could have a feature to let it cycle though a folder of images like a slideshow. That way it would be quick to see how changing parameters affects a wide variety of input images.
When using the PutNT module, the pipeline fails to "compile" (the status indicator becomes a red X) if the PutNT module does not immediately receive an input that is not "None".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.