cortictechnology / vision_ui Goto Github PK
View Code? Open in Web Editor NEWThis is a vision-based 3d model manipulation and control UI
License: MIT License
This is a vision-based 3d model manipulation and control UI
License: MIT License
Must use OAK-D or can use normal RGB camera and modify code could also work?
(depthai-test) bharath@nitro:~/Desktop/PROJECTS/depthai_projects/vision_ui$ python3 main.py
pygame 2.0.1 (SDL 2.0.14, Python 3.9.7)
Hello from the pygame community. https://www.pygame.org/contribute.html
Palm detection blob : /home/bharath/Desktop/PROJECTS/depthai_projects/vision_ui/ai_models/palm_detection_sh4.blob
Landmark blob : /home/bharath/Desktop/PROJECTS/depthai_projects/vision_ui/ai_models/hand_landmark_sh4.blob
[14442C10917AC8D200] [199.826] [system] [info] PRINT:LeonCss: BootloaderConfig.options1 checksum doesn't match. Is: 0x102C4414 should be: 0xAED890DB
BootloaderConfig.options2 checksum doesn't match. Is: 0x00000000 should be: 0x2380F205
GPIO boot mode 0x16, interface USBD
Setting aons(0..4) back to boot from flash (offset = 0)
====ENABLE WATCHDOG====1
--> brdInit ...
initial keepalive, countdown: 10
PLL0: 700000 AUX_IO0: 24000 AUX_IO1: 24000 MCFG: 24000 MECFG: 24000
Board init ret 3
brdInitAuxDevices: Error: SC = 27: io_initialize expander_cam_gpios_1 [OK]
spi_N25Q_init: Flash JEDEC ID: ff ff ff
eeprom_read_status 0!
EEPROM read status 0
EEPROM data version: 5
Closing EEPROm!
Is booted from flash by bootloader: 0
Networking not available...
Called by: LOS, controller: LOS
Enumerating on socket: Cam_A / RGB / Center
IMX378 patch for VCM type
>> Registered camera A12N02A (imx378) as /dev/Camera_0
Enumerating on socket: Cam_B / Left
>> Registered camera TG161B (ov9282) as /dev/Camera_1
Enumerating on socket: Cam_C / Right
>> Registered camera TG161B (ov9282) as /dev/Camera_2
Enumerating on socket: CAM_D
Initializing XLink...
UsbPumpVscAppI_Event: 5 VSC2_EVENT_ATTACH
UsbPumpVscAppI_Event: 2 VSC2_EVENT_SUSPEND
UsbPumpVscAppI_Event: 3 VSC2_EVENT_RESUME
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
initial keepalive, countdown: 9
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 4 VSC2_EVENT_RESET
UsbPumpVscAppI_Event: 2 VSC2_EVENT_SUSPEND
UsbPumpVscAppI_Event: 3 VSC2_EVENT_RESUME
UsbPumpVscAppI_Event: 0 VSC2_EVENT_INTERFACE_UP
UsbPumpVscAppI_Event: 2 VSC2_EVENT_SUSPEND
UsbPumpVscAppI_Event: 3 VSC2_EVENT_RESUME
Done!
Usb connection speed: High - USB 2.0
I: [Timesync] [ 1019244] [main] startSync:116 Timesync | Callback not set
Temperature: Driver registered.
Temperature: Initialized driver.
Temperature: Sensor opened: CSS.
Temperature: Sensor opened: MSS.
Temperature: Sensor opened: UPA.
Temperature: Sensor opened: DSS.
[14442C10917AC8D200] [199.826] [system] [info] PRINT:LeonMss: Called by: LRT, controller: LOS
Internal camera FPS set to: 23
Sensor resolution: (1920, 1080)
Internal camera image size: 1152 x 648 - crop_w:0 pad_h: 252
896 anchors have been created
Creating pipeline...
Creating Color Camera...
Creating Palm Detection Neural Network...
Creating Hand Landmark Neural Network...
Pipeline created.
terminate called without an active exception
Stack trace (most recent call last):
#29 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
#28 Object "python3", at 0x555f061d1bc2, in
#27 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fadc0bd80b2, in __libc_start_main
#26 Object "python3", at 0x555f0624cd78, in Py_BytesMain
#25 Object "python3", at 0x555f0624cc7e, in Py_RunMain
#24 Object "python3", at 0x555f0624c49e, in PyRun_SimpleFileExFlags
#23 Object "python3", at 0x555f060ec60c, in
#22 Object "python3", at 0x555f06247704, in
#21 Object "python3", at 0x555f06213c5a, in
#20 Object "python3", at 0x555f061629ea, in PyEval_EvalCode
#19 Object "python3", at 0x555f06213bab, in PyEval_EvalCodeEx
#18 Object "python3", at 0x555f061618e1, in
#17 Object "python3", at 0x555f061aa852, in _PyEval_EvalFrameDefault
#16 Object "python3", at 0x555f061239ba, in _PyObject_MakeTpCall
#15 Object "python3", at 0x555f0615d3d8, in
#14 Object "python3", at 0x555f0615384d, in _PyObject_FastCallDictTstate
#13 Object "python3", at 0x555f06162526, in _PyFunction_Vectorcall
#12 Object "python3", at 0x555f061618e1, in
#11 Object "python3", at 0x555f060d8fdb, in
#10 Object "python3", at 0x555f060b4e18, in
#9 Object "python3", at 0x555f061239ee, in _PyObject_MakeTpCall
#8 Object "python3", at 0x555f06153713, in
#7 Object "/home/bharath/anaconda3/envs/depthai-test/lib/python3.9/site-packages/depthai.cpython-39-x86_64-linux-gnu.so", at 0x7fad98ac3a6e, in
#6 Object "/home/bharath/anaconda3/envs/depthai-test/lib/python3.9/site-packages/depthai.cpython-39-x86_64-linux-gnu.so", at 0x7fad98adef92, in
#5 Object "/home/bharath/anaconda3/envs/depthai-test/lib/python3.9/site-packages/depthai.cpython-39-x86_64-linux-gnu.so", at 0x7fad98c24cc3, in dai::DeviceBase::startPipelineImpl(dai::Pipeline const&)
#4 Object "/home/bharath/anaconda3/envs/depthai-test/bin/../lib/libstdc++.so.6", at 0x7fadb7944fb0, in std::terminate()
#3 Object "/home/bharath/anaconda3/envs/depthai-test/bin/../lib/libstdc++.so.6", at 0x7fadb7944f6e, in
#2 Object "/home/bharath/anaconda3/envs/depthai-test/bin/../lib/libstdc++.so.6", at 0x7fadb7946871, in __gnu_cxx::__verbose_terminate_handler()
#1 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fadc0bd6858, in abort
#0 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fadc0bf718b, in gsignal
Aborted (Signal sent by tkill() 4125 1000)
Aborted (core dumped)
unable to run please help...:((
my env specs:
Python 3.9.7 (default, Sep 16 2021, 13:09:58)
[GCC 7.5.0] :: Anaconda, Inc. on linux
what python version should I use?
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.