- cam0 10.10.0.201
- cam1 10.10.0.103
- switch 10.10.0.41
- GPU 10.10.0.30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions | |
// - XState (all XState exports) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Machine({ | |
id: 'getPlate', | |
initial: 'show', | |
context: { | |
parking_record: null, | |
plate: null, | |
lot_code: null, | |
error: null, | |
error_msg: null | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Machine({ | |
id: 'payment', | |
initial: 'show', | |
context: { | |
parking_record: null, | |
plate: null, | |
lot_code: null, | |
error: null, | |
error_msg: null | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"program" : "load_balance.p4", | |
"__meta__" : { | |
"version" : [2, 7], | |
"compiler" : "https://github.com/p4lang/p4c" | |
}, | |
"header_types" : [ | |
{ | |
"name" : "scalars_0", | |
"id" : 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = Public | |
},{}],268:[function(require,module,exports){ | |
this.purchase = ` | |
<b style="color:white" class="titlepopoutrightmini ethglow-calm-down-sumpunk">Keys</b> are your stake in each round, think of them as your own personal bits of the <b class="titlepopout-right-mini-grey-shadow">private keys</b> to the contract!<br> | |
<br> | |
<br> | |
<b>Buying 1 or more Full Keys</b><br> | |
- Adds 10 seconds to the timer for every key purchased, up to a hard-cap of 1 hour.<br> | |
-Lets <span class=popoverrightmini>you</span> exit-scam the contract if time runs out and <span class=popoverrightmini>you</span> were the last player to buy a full key.<br> | |
<br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let buyMessagesOther = [ | |
`$name just found $amount keys in the parking lot, i hope they weren't yours`, | |
`$name just paid a keysmith to make them $amount keys`, | |
`$name just bought $amount keys to spite everyone`, | |
`Ooh, $name just bought $amount keys, but they're running low on eth, nows your chance!`, | |
`whoever $name is, they just bought $amount keys`, | |
`with putty and careful practice $name just made $amount keys out of molten metal!`, | |
] | |
let buyMessagesSelf = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######## Image Object Detection Using Tensorflow-trained Classifier ######### | |
# | |
# Author: Evan Juras | |
# Date: 1/15/18 | |
# Description: | |
# This program uses a TensorFlow-trained classifier to perform object detection. | |
# It loads the classifier uses it to perform object detection on an image. | |
# It draws boxes and scores around the objects of interest in the image. | |
## Some of the code is copied from Google's example at |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -y -i rtsp://localhost:8554/ -vframes 1 /home/pi/test1.jpg | |
scp bn@10.10.0.43:/home/bn/Downloads/tensorflow1/models/research/object_detection/ | |
ffmpeg -i rtsp://10.10.0.103:8554/ -f image2 -update 1 /home/bn/Downloads/tensorflow1/models/research/object_detection/test0.jpg |
NewerOlder