Spaces:
Sleeping
Sleeping
Update Home.py
Browse files
Home.py
CHANGED
|
@@ -75,7 +75,7 @@ elif st.session_state.page == "Translation":
|
|
| 75 |
Moving an image 10 pixels to the right and 5 pixels down.
|
| 76 |
''')
|
| 77 |
st.subheader("Code:")
|
| 78 |
-
|
| 79 |
import cv2
|
| 80 |
import numpy as np
|
| 81 |
tx = -50,ty = -50
|
|
@@ -86,10 +86,10 @@ elif st.session_state.page == "Translation":
|
|
| 86 |
cv2.waitKey()
|
| 87 |
cv2.destroyAllWindows()""",language = "python")
|
| 88 |
|
| 89 |
-
|
| 90 |
|
| 91 |
-
|
| 92 |
-
|
| 93 |
|
| 94 |
#Define descriptions on the affine transformation types
|
| 95 |
descriptions = {
|
|
|
|
| 75 |
Moving an image 10 pixels to the right and 5 pixels down.
|
| 76 |
''')
|
| 77 |
st.subheader("Code:")
|
| 78 |
+
st.code("""
|
| 79 |
import cv2
|
| 80 |
import numpy as np
|
| 81 |
tx = -50,ty = -50
|
|
|
|
| 86 |
cv2.waitKey()
|
| 87 |
cv2.destroyAllWindows()""",language = "python")
|
| 88 |
|
| 89 |
+
st.markdown("<hr>", unsafe_allow_html=True)
|
| 90 |
|
| 91 |
+
if st.button("Back to Home Page"):
|
| 92 |
+
navigate_to("Home")
|
| 93 |
|
| 94 |
#Define descriptions on the affine transformation types
|
| 95 |
descriptions = {
|