raspberry-pi tag

99 questions


1 answers
381 views
0
I made a code to save the picture after capturing it on Raspberry Pi, and I want to number it.

StartTime = time.time()LastTime = 0for i in range (1) : while True : #[Do if there is Data to Process.] Length = Serial_PC_Justin.inWaiting() if Length == 0: continue data = Serial_PC_Justin.read(Leng...

1 years ago

1 answers
468 views
0
I want to know what I need to study to make my own operating system that works with raspberry pie.

I would like to create an operating system that operates under the following conditions, but what kind of knowledge do I need first?I searched a lot, but I don't understand the following, so I would l...

1 years ago

2 answers
368 views
0
Expected b'battery_v'but got b'battery:...' error communicating with Pisgar3

The raspberry pie is equipped with a UPS called pisugar3 to obtain voltage and battery capacity from pisugar every 5 seconds.It works at the beginning of the program, but after about 20 minutes of mov...


2 answers
396 views
0
I want to reset my login password on Ubuntu Server on Raspberry Pi

I am using Ubuntu Server on Raspberry Pi4, but I lost my login password.I think I also enabled root, but I don't even know the root password.How do I reset my password?If it's x64, I can boot the shel...

2 years ago

1 answers
480 views
0
OpenGApps installation failed

I tried to install OpenGApps (ARM 11.0 pico) on the Raspberry Pie LineageOS 18.1, but it says ERROR:64 and the installation is cancelled.What should I do?

2 years ago

2 answers
441 views
0
RaspberryPi CM4 uses Python to access external EEPROMs via SPI communication, but cannot read or write values.

EEPROM (M95M04-DR) is connected via SPI from raspy.I'm trying to read and write EEPROM using Python, but The registers cannot be read or set before memory data is retrieved.I'm struggling because I do...


1 answers
112 views
0
I'd like to implement real-time functionality with RaspberryPI...

The connection is Sensor (8bit) === > GPIOGPIO===>LEDThat's it.The idea is to ensure real-time performance with drivers that don't allow other interrupts.Self-Driver: Polling GPIO with for (inti...

2 years ago

1 answers
116 views
0
Information on how to count running vehicles in OpenCV.

Please tell me how OpenCV counts vehicles in motion.

2 years ago

1 answers
152 views
0
Information on how to use OpenCV to determine the type of vehicle.

I'm a beginner at OpenCV. I can use OpenCV to process color conversion and binary inversion of images, but I don't know how to distinguish between models (such as regular cars and trucks). Please tell...

2 years ago

1 answers
176 views
0
C++ Cannot Compile OpenCV Programs

The following C++ programs cannot be compiled. What is the cause?#include stdio.h# include highgui.h# include cv.hint main(intargc, char**argv){ IplImage*img=cvLoadImage(argv[1]); cvNamedWindow(scrot....

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.