Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LobsterCam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CatchCam
LobsterCam
Commits
6770d91a
Commit
6770d91a
authored
4 years ago
by
Benden, Daniel
Browse files
Options
Downloads
Patches
Plain Diff
added missing import.py
parent
94a685ba
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lobster.py
+2
-2
2 additions, 2 deletions
src/lobster.py
with
2 additions
and
2 deletions
src/lobster.py
+
2
−
2
View file @
6770d91a
...
...
@@ -5,7 +5,7 @@ import numpy as np
from
qt.ui.main
import
Ui_MainWindow
from
PyQt5.QtWidgets
import
QApplication
,
QWidget
,
QGraphicsScene
,
QMainWindow
,
QSizePolicy
from
PyQt5.QtGui
import
QImage
,
QPixmap
,
QPainter
,
QPen
,
QFont
from
PyQt5.QtCore
import
QTimer
,
Qt
from
PyQt5.QtCore
import
QTimer
,
Qt
,
QEvent
from
camera
import
Camera
from
gpiozero
import
Button
,
LED
import
logging
...
...
@@ -30,7 +30,7 @@ class QMainWidget(QMainWindow):
super
(
QMainWidget
,
self
).
__init__
(
parent
)
self
.
ui
=
ui_cls
()
self
.
ui
.
setupUi
(
self
)
self
.
flash
=
LED
(
2
1
)
self
.
flash
=
LED
(
2
0
)
self
.
led
=
LED
(
16
)
self
.
button
=
Button
(
17
)
self
.
camera
=
Camera
(
"
/data/
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment