Skip to content

Instantly share code, notes, and snippets.

View JohnDMcMaster's full-sized avatar
💭
NULL

John Mcmaster JohnDMcMaster

💭
NULL
View GitHub Profile
mcmaster@necropolis:/tmp/tmp/out$ XY_STEP_FRAC_X=0.38 XY_STEP_FRAC_Y=0.50 xy-feature out.pto *.jpg
mkdir pr0nstitch
2021-12-14T03:08:03.637040: post arg
2021-12-14T03:08:03.637062: output project: out.pto
2021-12-14T03:08:03.637099: Image step fraction:'
2021-12-14T03:08:03.637112: X: 0.38
2021-12-14T03:08:03.637121: Y: 0.5
2021-12-14T03:08:03.637221: Constructing image coordinate map from tagged file names...
2021-12-14T03:08:03.637233: Row / col hints insufficient, guessing row / col layout from file names
2021-12-14T03:08:03.637270: Constructing columns from set {0, 1, 2}
#!/usr/bin/env python3
from PyQt4.Qt import Qt
from PyQt4.QtGui import QSizePolicy, QApplication
from PyQt4.QtGui import QWidget, QLabel
import sys
import traceback
import os
import signal
python gst0.10_min.py
ximagesink
<class '__main__.__main__.GstXImageSink'>
('set_xwindow_id', True)
('set_window_handle', False)
xvimagesink
<class '__main__.__main__.GstXvImageSink'>
('set_xwindow_id', True)
('set_window_handle', False)
#!/usr/bin/python3
from xystitch.util import add_bool_arg
import argparse
import glob
import os
import shutil
import math
mcmaster@necropolis:~/doc/sw/touptek/toupcamsdk_usb$ find -name '*.so' |sort
./android/arm64/libtoupcam.so
./android/arm/libtoupcam.so
./android/x64/libtoupcam.so
./android/x86/libtoupcam.so
./linux/arm64/libtoupcam.so
./linux/armel/libtoupcam.so
./linux/armhf/libtoupcam.so
./linux/x64/libtoupcam.so
./linux/x86/libtoupcam.so
mcmaster@necropolis:~/buffer/wyze/dev/Main$ ln -s toolchain mips-gcc472-glibc216-64bit
mcmaster@necropolis:~/buffer/wyze/dev/Main$ ./compile-libraries.sh
mcmaster@necropolis:~/buffer/wyze/dev/Main$ ./compile_busybox.sh
mcmaster@necropolis:~/buffer/wyze/dev/Main$ patchelf --set-interpreter /tmp/ld.so.1 busybox/busybox
mcmaster@necropolis:~/buffer/wyze/dev/Main$ cam1-cp busybox/busybox
mcmaster@necropolis:~/buffer/wyze/dev/Main$ cam1-cp ./toolchain/mips-linux-gnu/libc/lib/{ld.so.1,libm.so.6,libresolv.so.2,libc.so.6}
[root@DAFANG:tmp]# chmod +x *
[root@DAFANG:tmp]# ./busybox --help
#!/usr/bin/env python
'''
gst-launch-1.0 videotestsrc ! videoscale ! videoconvert ! ximagesink
'''
# https://wiki.ubuntu.com/Novacut/GStreamer1.0#Python_Porting_Guide
from PyQt4 import Qt
#!/usr/bin/env python
'''
gst-launch-0.10 videotestsrc ! ffmpegcolorspace ! videoscale ! ximagesink
'''
from PyQt4 import Qt
from PyQt4.QtGui import *
from PyQt4.QtCore import *
from PyQt4.QtGui import QWidget, QLabel
#!/usr/bin/env python
'''
gst-launch-0.10 videotestsrc ! ffmpegcolorspace ! videoscale ! ximagesink
'''
from PyQt4 import Qt
from PyQt4.QtGui import *
from PyQt4.QtCore import *
from PyQt4.QtGui import QWidget, QLabel
I went to the eeTools office today to pick up an adapter to burn the DA28F640J5 chips for my Ferrari game. I mentioned I was using this on an original Topmax (that hooks up to a real parallel port) and not the Topmax 2, which uses USB. We chatted a bit, and I told him I was buying the adapter for my hobby of restoring old arcade games, and I also mentioned I got several of eeTools burners over the years for pretty cheap at flea markets.
As I was leaving, he said he still has some old original Topmax units in the warehouse, and I should tell my friends he'd sell them for $50!
So, if you have a PC running WIN95/98/NT/2000/XP with a REAL parallel port on the motherboard (USB parallel port adapters don't work, and I've heard that PCI plug-in parallel port cards don't work either, though that surprises me) you can get a kick-ass programmer for $50!
___
Ken