Skip to content

hspsh/lethal-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Getting started

git gud.

The image from google drive doesn't work correctly - no SSH, busybox is ancient, videostream is borked too

Chaotic list of stuff todo

spawn ubuntu docker for SDK compilation

docker run -it -v $(pwd):/app ubuntu

TODO: push docker image with preinstalled stuff

upgrade stuff

Use flasher from:

luckfox-pico-sdk/tools/linux/Linux_Upgrade_Tool

NEVER run this crap with sudo - just apply the udev rules, it will work sudoless.

connect

adb shell works

to connect through usb networking, set static IP on host PC sudo ip address add 172.32.0.90/24 dev enp0s20f0u2

now you can ssh via ssh root@172.32.0.93 # passwd: luckfox

view camera

VLC doesn't work reliably.

mpv rtsp://192.168.0.146/live/1

or

mpv rtsp://172.32.0.93/live/0

The camera lags as hell.

adding v4l2

luckfox-pico-sdk/sysdrv/source/buildroot/buildroot-2023.02.6

make ARCH=arm menuconfig

play

v4l2-ctl --device=/dev/video11 --set-fmt-video=width=320,height=240,pixelformat=NV12 --stream-mmap --stream-to=video50.yuv --stream-count=60

scp root@192.168.0.68:/root/video50.yuv .

** fajne kolorki!!! ** vlc --demux rawvideo --rawvid-fps 25 --rawvid-width 320 --rawvid-height 240 --rawvid-chroma I420 video50.yuv

sad kolorki: vlc --demux rawvideo --rawvid-fps 25 --rawvid-width 320 --rawvid-height 240 --rawvid-chroma NV12 video50.yuv

NN research

https://github.com/rockchip-linux/rknn-toolkit2

USB host

Need soldering iron. Saving progress here.

Links

https://wiki.luckfox.com/Luckfox-Pico/Luckfox-Pico-USB https://forums.luckfox.com/viewforum.php?f=13&start=25 https://wiki.luckfox.com/Luckfox-Pico/Luckfox-Pico-SDK https://github.com/rockchip-linux/rknn-toolkit2

About

We must deliver internal projects quota

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages